New course! Every coder should learn Generative AI!
Try a free lesson0
How can i save input as a variable in python?
I wanna print input and save anything was input as variable and return,print or any act like addition or something else?
6 Answers
+ 1
Thank you let me try๐
0
For example
print (input("What is Your phone Number?"))
And i want to print that number again
0
Not there for example i wanna add "+98" befor that number.
Print("+98"+ Number)
Like that๐
0
print("+98"+str(input("Phone number:")))
May be like this?
0
Thanks you so much๐๐๐น
0
Not at all