Question: Step 1 Write a Python assignment statement that uses input() containing a prompt that asks the user to type their name and assigns the name

Step 1

Write a Python assignment statement that uses input() containing a prompt that asks the user to type their name and assigns the name typed to a variable called name.

Step 2

Write a Python print statement to print a message to the user that says hello and uses the name they typed in

step 3

Write a Python assignment statement that inputs an integer and stores it in a variable called num1, make sure to prompt the user to type a number, and make sure to use the int() function as shown in the book to turn the input into an integer.

Write another Python statement exactly like step 3, but store the number input in a variable called num2.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Lets tackle this step by step so you understand how to implement the solution in Python Step 1 Assig... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!