This is what I am trying to do [这是我试的,不知道为什么出错,不知道怎么打印带表情的文字。]
(https://i.stack.imgur.com/5Blv4.png)
print("""
R1cHL3
December 30th 2022
I am signing up for Replit's 100 days of Python
challenge!
I will make sure to spend some time every day coding
along, for a minimum of 10 minute a day.
I'll be using Replit, an amazing online IDE so I can do
this from my phone wherever I happen to be. No excuses
for not coding from the middle of a field!
"")
print("I am feeling")
print(u'\U0001f604')
print("You can follow my progress at") --- Line 14
File "main.py", line 15
print("You can follow my progress at")
^
SyntaxError: EOF while scanning triple-quoted string literal
谢谢你。
我正在尝试不同的方法来期待它的工作。尝试和尝试,直到它有希望工作
1条答案
按热度按时间efzxgjgh1#
这就是问题所在。最后一行应该有三个引号,而不是两个。