Edit typos and grammar and add python files
This commit is contained in:
parent
c1222a8103
commit
991caf0521
16 changed files with 285 additions and 3 deletions
9
thinkcspy/Chapter-4-Exercises/Python-Files/problem4.py
Normal file
9
thinkcspy/Chapter-4-Exercises/Python-Files/problem4.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Runestone.Academy thinkcspy course
|
||||
# Chapter 4
|
||||
# Problem 4
|
||||
|
||||
for i in [12, 10, 32, 3, 66, 17, 42, 99, 20]:
|
||||
print(i)
|
||||
|
||||
for i in [12, 10, 32, 3, 66, 17, 42, 99, 20]:
|
||||
print("The square of", i,"is", i**2)
|
||||
Loading…
Reference in a new issue