Python Syntax Error Question!

Asked 2 years ago, Updated 2 years ago, 23 views

c = ["hello", "my", "God"]
d = [1,2,3,4,]
print(t)
print("God" in c)

If I run it, I get invalid sync ㅠim Why is it like this when I watched the video and followed it? I changed the indentation, too, but I repl.I'm studying on it site, but I can do it on one page, but not on one page. Should I do it because the coding is about 200 lines on one page?

python

2022-09-21 12:44

1 Answers

It's a mistake I make in my early years. One parenthesis is missing just above.


2022-09-21 12:44

If you have any answers or tips


© 2025 OneMinuteCode. All rights reserved.