r/PythonLearning • • Sep 14 '25

First Python Program

Post image

So I started learning python some weeks ago and I created a program based on what I’ve learnt so far. So it’s a program that does age verification. What do you think about this??

387 Upvotes

47 comments sorted by

View all comments

4

u/[deleted] Sep 14 '25

[removed] — view removed comment

3

u/Leading-Concept- Sep 14 '25

Or put .lower() on the input

2

u/unsettlingideologies Sep 16 '25

Couldn't you use .title to capitalize the first letter only? So it would match the menu?

3

u/Leading-Concept- Sep 16 '25

Right yeah, if you use .lower() you would have to put the menu all in lowercase, if you use .title you can keep the menu as it is now!