[Python #1] create ex2

This commit is contained in:
kjg 2020-05-18 22:46:09 +09:00
parent 79a3c80eed
commit 2505a9e78c
3 changed files with 31 additions and 0 deletions

View 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.")

View file

@ -17,3 +17,6 @@ This is fun.
Yay! Printing.
I'd much rather you 'not'.
I "said" do not touch this.
**** ex2
I could have code like this.
This will run.

19
kjg/python.org~ Normal file
View file

@ -0,0 +1,19 @@
*python
*** Python #1:
**** ex0
**** ex1
>>> print("Hello World!")
... print("Hello Again")
... print("I like typing this.")
... print("This is fun.")
... print('Yay! Printing.')
... print("I'd much rather you 'not'.")
... print('I "said" do not touch this.')
Hello World!
Hello Again
I like typing this.
This is fun.
Yay! Printing.
I'd much rather you 'not'.
I "said" do not touch this.