p
y
c
h
a
l
l
e
n
g
e
r
Home
Python Basics
Loops
Exercise: Create for-loop
Exercise: Create for-loop
It's time to create our first for-loop. Add the missing code to iterate over all weekdays.
reset
days = ('Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su') # add code here...
for
print(day)
Python
Setting up Python environment...
Output