Introduction: Python - Input Data Into Variable
# Input data using Python; then print out inputted data # Using the "input" command, take data that is typed in and place it into # the variable "dataEntered" print("This program will have the user enter data and print it back to the screen") dataEntered = input("Enter data: ") print("The data entered is>>>", dataEntered)
Supplies
- Python 3
- Python Integrated Development Environment, eg: IDLE