« *
Python: If / else
age = 13 if age >= 13: print("teen") else: print("child")
It prints:
teen
4
Previous: Lists
6
Next: Functions
9
Cheat sheet
☆ Save to home
·
0 Home
·
Find
·
Games
·
Chat
·
AI
·
Setup