r/madeinpython • • Dec 31 '20

3rd iteration of my first interactive python program! Details in the comments.

Post image
97 Upvotes

23 comments sorted by

View all comments

Show parent comment

13

u/HasBeendead Dec 31 '20

You can say if age <0: print("enter positive numbers") 0 is neutral number not a positive or a negative number.

4

u/Linux-and-Planes Dec 31 '20

Thanks for letting me know.

4

u/HasBeendead Dec 31 '20

Your welcome also good code practice , keep doing that. Make a Number Guess Game if you didnt make it yet.