Write a Python program to classify a person’s physical activity level based on the number of steps they walked in a day.
name
.steps
(as an integer).if-elif-else
structure to determine their activity level:steps
is 20,000 or more, print:"Incredible, [name]! With [steps] steps, you're a superstar walker!"
steps
is 10,000 or more but less than 20,000, print:"Great job, [name]! With [steps] steps, you're staying active and healthy!"
steps
is less than 10,000 but greater than 0, print:"Keep it up, [name]! With [steps] steps, you're making progress. Aim for 10,000 next time!"
steps
is 0, print:"Come on, [name]! You haven't walked any steps today. Time to get moving!"
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!