Inflearn Community Q&A
마지막 에러가 뜨네요 뭐가 문제일까요?
Written on
·
361
0
students = ["Iron man", "Thor", "I am groot"]
students = [i.upper() for i in students]
print(students)
File "c:/Users/정태원/Desktop/Pythonworkspace/practice.py", line 10 students = ["Iron man", "Thor", "I am groot"] ^ IndentationError: unexpected indent PS C:\Users\정태원\Desktop\Pythonworkspace>
python
Quiz
71% of people got it wrong. Give it a try!
When is the `else` block executed in an `if-elif-else` structure?
When the `if` condition is true
When the elif condition is true
When all preceding `if` or `elif` conditions are false
On program end





