I'm writing a code to take a user input and provide its documentation in python. But the string in the user input is used with quotes in python

后端 未结 0 798
时光说笑
时光说笑 2020-12-11 13:22
user_input = input("\\nWhat can I help you with? ")
user_input = user_input.strip(\'"\')
print("\\n>>"+user_input.__doc__)


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