# Exercise 5-11 Ordinal Numbers 
# Learning Objective: Iterations in a list. 

nums = []

for num in range(1,10):
	nums.append(num)

print(nums)

for num in nums:
	if num == 1:
		print(str(num) + "st")
	elif num == 2:
		print(str(num) + "nd")
	elif num == 3:
		print(str(num) + "rd")
	else:
		print(str(num) + "th")

