Tag: Variables

September 1, 2023

Python Variable Exercises

Which function in Python is used to ask the user to enter information? input() print() Submit Get an email address from your user and print it. email_address = “”() print(email_address) print input Submit Add a prompt message to the input() function. email_address = input(”) print(email_address) Please enter your email address: ‘Please enter your email address:’ […]

September 1, 2023

Python Variable Exercises

Select the variable name that is more descriptive and meaningful. “” = ‘C:\main.py’ p path Submit Which variable name is more descriptive for holding a total budget value? total_budget tb Submit Correct this code. product”category = ‘electronics’ _ + Submit What’s wrong with this variable? product category = ‘electronics’ There is no wrong in the […]