Python Lesson 5 - Nested If Statements
Channel:
Subscribers:
65,900
Published on ● Video Link: https://www.youtube.com/watch?v=zbYZTGbkJnk
Extending from our previous lesson, we make a small ticketing system for a cinema. It will determine the ticket price for a customer depending on whether they choose adult/child and whether they choose to see the movie on a weekday or weekend. This can be achieved with a nested if statement.