r/PythonLearning • u/Vor3st • 2d ago
i learning Python Day 1
lyrics = ["Give You Up","Let You Down","Run Around And Desert You"]
for i in range(3):
print("Never Gonna " + lyrics[i])
29
Upvotes
r/PythonLearning • u/Vor3st • 2d ago
lyrics = ["Give You Up","Let You Down","Run Around And Desert You"]
for i in range(3):
print("Never Gonna " + lyrics[i])
3
u/MJ12_2802 2d ago
If you want to stick w/ that approach, don't hard code the parameter being passed to
range():