Remove .md and image files and move python files into main chapter folders
This commit is contained in:
parent
5978779a9a
commit
67806dab6a
159 changed files with 0 additions and 4562 deletions
20
thinkcspy/Chapter-9-Exercises/Problem4.py
Normal file
20
thinkcspy/Chapter-9-Exercises/Problem4.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Runestone.Academy thinkcspy course
|
||||
# Chapter 9
|
||||
# Problem 4
|
||||
|
||||
# your code here
|
||||
|
||||
num1 = 1
|
||||
product = 0
|
||||
|
||||
for n in range(12):
|
||||
num2 = 1
|
||||
row = ""
|
||||
|
||||
for x in range(12):
|
||||
product = num1 * num2
|
||||
row += "{} \t".format(product)
|
||||
num2 += 1
|
||||
|
||||
print(row)
|
||||
num1 += 1
|
||||
Loading…
Reference in a new issue