diff --git a/ex2.py b/ex2.py new file mode 100644 index 0000000..860ded8 --- /dev/null +++ b/ex2.py @@ -0,0 +1,11 @@ +# 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.") diff --git a/ex3.py b/ex3.py new file mode 100644 index 0000000..37a3780 --- /dev/null +++ b/ex3.py @@ -0,0 +1,3 @@ +print("I will now count my chinkens:") +print("Hens", 25 +30/6) +