What is the cause of the error SyntaxError: invalid character identifier [Duplicate]

Asked 2 years ago, Updated 2 years ago, 333 views

(Two answers) 10 months ago

Could you tell me the meaning of this error and how to improve it?

src=

python

2022-09-30 21:57

1 Answers

The print("{}".format(s)) is probably followed by a full-width blank character.
Close parentheses ) if there are any characters after it, try deleting them.

Also, even if you fix it, it may appear that the line does not have indentation, so make sure that the source code is entered as intended.


2022-09-30 21:57

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.