Oct-29-2017, 11:40 PM
input() is a function that gets text input from the user. str() is a function that converts values to the 'String' type, just like int() converts values to integers.
If you used
If you used
name = str("What is your name: ")
, name would be set to the sting "What is your name: ".