0

Can I assign an imput to a string?

When I prompt the user to input a statement, can I assign that to a string that can later be manipulated?

21st Apr 2017, 4:29 PM
Jonathan Kressbach
1 Answer
+ 2
name=input("Enter your name: ") name is now a string variable with a value of whatever is input
21st Apr 2017, 5:45 PM
LordHill
LordHill - avatar