python the hard way ex.
This commit is contained in:
parent
7b39b906fb
commit
dab9fe5912
9 changed files with 133 additions and 0 deletions
9
sami/learn-python-the-hard-way/ex2.py
Normal file
9
sami/learn-python-the-hard-way/ex2.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# A comment, this is so you can read your program later.
|
||||
# Anything after the # is ignored by python.
|
||||
|
||||
print("I could have code like this.") # and the comment after is ignored
|
||||
|
||||
# You can also use a comment to "disable" or comment out code:
|
||||
# print("This won't run.")
|
||||
|
||||
print("This will run.")
|
||||
Loading…
Add table
Add a link
Reference in a new issue