- This event has passed.
6 PM Python Level 1
October 18, 2019 @ 6:00 pm - 7:00 pm
- We completed Hangman game.
- Homework
- Below Python code is broken. Copy this into your Thonny and try to fix all the errors
-
-
-
name = 'Brandon if Name == 'Brandon' print('You are cool' else: print('You are not cool') age = input('Give me a number? ') if age < 10: print('You are a kid') else: print('You are a teenager') - If above code is fixed it will produce the following
-
You are cool Give me a number? 8 You are a kid
-
You are cool Give me a number? 10 You are a teenager
-
You are cool Give me a number? -1 You are a kid
-
-
-
- Below Python code is broken. Copy this into your Thonny and try to fix all the errors