Cộng đồng Hỏi & Đáp của Inflearn
마지막 에러가 뜨네요 뭐가 문제일까요?
Viết
·
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% người trả lời sai. Hãy thử ngay!
Khối `else` trong cấu trúc `if-elif-else` được thực thi khi nào?
khi điều kiện `if` đúng
khi điều kiện `elif` đúng
Khi tất cả các điều kiện `if` hoặc `elif` phía trên đều sai
Khi thoát chương trình





