Source

Python 3 Patterns & Idioms / code / PythonForProgrammers / if.py

Full commit
1
2
3
4
5
6
# QuickPython/if.py
response = "yes"
if response == "yes":
    print("affirmative")
    val = 1
print("continuing...")