More quotes in input method inside f string

前端 未结 0 533
执笔经年
执笔经年 2020-12-04 12:50

I have a string:

print(f"Your name is {input("Your name: ")}")

Unfortunately, it gets confused the quotes. I tried this,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题