answer each question out as asked Eile Edit Yew Hbtory Bookmarks bols Help M Inb
ID: 3804696 • Letter: A
Question
answer each question out as asked
Eile Edit Yew Hbtory Bookmarks bols Help M Inbox (2288) x Free Picks Da... x a sakaioURI:2.. x 2 Dialogue Botw x CSC110 midt x Practice Probl. x Las vegas od x Free Daily Spo... X H Free Parlay Cal x Camogg Study I... x Leonard Fourm.... X https sakai. item/11693685/group/e3dbb580-16f5-430f affo-88196032a87c/Practice Exam/CSC midterm. practice pdf 120k e Q, ind cheap cruise Automatic Zoom For each of the following four questions, write ONE line of python code in the given boxes: 1. (2.5 points): Write a one line command that displays the following message to the user Enter your income' and prompts the user to enter an income value. The value entered by the user should be saved in a variable called mylncome which is of type float. 2. (2.5 points) The following list stores a list of toddler names in a daycare: toddlers Abba Dalila Iverem Kaya Nishan Saran Write a one line command that would change Kaya' to 'Teru 3. (2.5 points) Write a python statement to execute the following mathematical equation: (Note that x can is the same as writing 0,5 a E 3b c 4. (2.5 points) Write an if statement that would check if variable kis greater than or equal to 100 AND less than 200.Explanation / Answer
1.
myIncome = float(input("Enter your Income "))
Explanation:
When you will run the above one line command in python, it will prompt you “Enter your income” and will wait for your response. As soon as you enter the value, press Enter button on your keyboard to store the value entered by you in variable name myIncome.
Now let’s see what the single command is doing:
Note:-
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.