relocate file

This commit is contained in:
cheeks 2025-01-21 12:24:54 -05:00
parent 0d329db75c
commit 159db6842c
2 changed files with 0 additions and 13 deletions

View File

@ -1,7 +0,0 @@
# Exercise 4-6 Odd Numbers
# Learning Objective: Use third argument of range() to produce list of odd #'s between 1 and 20.
oddNums = [value for value in range(1, 21, 2)]
print(oddNums)
#I'm sure this is probably a one-liner. Looking forward to that book.

View File

@ -1,6 +0,0 @@
# Excercise 4-3 Counting to Twenty
# Learning Objective: Use for loop and range method.
for number in range(1, 21):
print(number)