Write a Python program to check the type of day a student will have based on the number of homework tasks they completed.
name
.completed_tasks
(as an integer).if-elif-else
structure to check the following:completed_tasks
is 10 or more, print:"Excellent work, [name]! You completed [completed_tasks] tasks. You can enjoy a free day!"
completed_tasks
is between 5 and 9 (inclusive), print:"Good job, [name]! You completed [completed_tasks] tasks. You’re on track!"
completed_tasks
is between 1 and 4 (inclusive), print:"Keep going, [name]! You completed [completed_tasks] tasks. A little more effort will pay off!"
completed_tasks
is 0, print:"Don't give up, [name]! Start working on your tasks. You can do it!"
We’re always looking for international STEM educators to join our team. If you are interested, please send us a mail and we’ll get back to you!
If you have any questions, kindly send us a mail. Don’t forget to follow and like all our social accounts to get updates on competitions!