Python 7 Levels, L1, Unit 4, Basic Operations

Powered By EmbedPress

Exercise 1:

sum_day = 87
week = sum_day//7
day = sum_day%7
print(sum_day," days including ",week," weeks,and ",day," days")

Homework:

science = 90
math = 97
english = 86
avg_score = (science + math + english)/3
d = avg_score - english
print("Average score is :",avg_score,",Difference between English and average is ",d," points")

dahan1999

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts