PythonL: invalid syntax file “”, line 1

后端 未结 5 2026
太阳男子
太阳男子 2021-02-18 22:14

When doing python3 Webhook.py (this is the file), it gives me the error: File \"\", line 1 (%X - %x) ^ SyntaxError: invalid syntax

5条回答
  •  醉梦人生
    2021-02-18 22:41

    I pass the string in the like print(f"The length of the set is {len(s) elements}")

    So I just move my string out of and problem solved. print(f"The length of the set is {len(s)} elements")

提交回复
热议问题