Today I wrapped up operators by building a fun little program 🎬.
It checks if someone can watch a movie based on their age and whether they have a ticket.
I used arithmetic, comparison, and logical operators all together, and it felt like connecting puzzle pieces.
I am proud of myself 🤗😊😊
Top comments (2)
Hey, good job again!
Maybe you should try to validate the ticket or age.
For example you can ask for birth date and check if the user is older than 18 or not. It would be an entry point for datetime module. Or make a list of N-length numeric codes and ask for ticket code, then check if the given code is in the list.
Or both? Up to you. 😊
Keep going, just 91 day to go.
And don't forget: Every program starts as a small script, you just have to extend it's features. 😃
Noted sir, I will work on it.
Thank you 😊