دنبال کننده ها

۱۳۹۶ آذر ۹, پنجشنبه

python - How do you get input while using a multi-part string?

[ad_1]



I have some code, something along the lines of



name = input("What is your name?")
press_enter_to_continue = input("Well", name, ", you've got a long journey ahead of you.")


I end up getting an error over the surplus of parameters, so I how could I redo the code?




[ad_2]

لینک منبع