Remove .md and image files and move python files into main chapter folders

This commit is contained in:
lolabird 2023-11-19 20:53:50 -07:00
commit 67806dab6a
159 changed files with 0 additions and 4562 deletions

View file

@ -0,0 +1,20 @@
# Runestone.Academy thinkcspy course
# Chapter 8
# Problem 2
def print_triangular_numbers(n):
# your code here
i = 1
while i <= n:
trinum = 0
bound = i
while bound > 0:
trinum += bound
bound -= 1
print(i, "\t", trinum)
i += 1
print_triangular_numbers(5)