To allow a user to input a variable, number, or some text in Python 3 you will use the input function. input(“your text”) this will pause the program and allow the user to input something. To save the users input as a variable for later use use this input function. Your_variable = input(“your text”) this will allow the program to save the users input as a variable which in this case the users input is saved as Your_variable and this can also be replaced with custom variable name
0
0 reads
IDEAS CURATED BY
CURATOR'S NOTE
Comment and like! Follow for more coding tips and tricks.
“
Similar ideas
21 ideas
21 Mind Traps: A Guide to your most common Thinking errors (Part II)
Escaping Ordinary (B.C Marx)
18 ideas
21 Mind Traps: A Guide to your most common Thinking errors pt. 1
Escaping Ordinary (B.C Marx)
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
—
100+ Learning Journeys
—
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates