p
y
c
h
a
l
l
e
n
g
e
r
Home
Python Basics
Loops
Exercise: Create nested for-loop
Exercise: Create nested for-loop
Create a nested for-loop. Add the missing code to iterate over all numbers.
Premium
reset
def greet(name): return f"Hello, {name}!" print(greet("Erik"))
Python
Setting up Python environment...
Output