Question: Python language. 3. Write a Python program which; a. Has four variables, var1, var2, var3, and var4. b. Assign the following values: 120 to var1,

Python language.

Python language. 3. Write a Python program which; a. Has four variables,

3. Write a Python program which; a. Has four variables, var1, var2, var3, and var4. b. Assign the following values: 120 to var1, and "Umm Al-Qura University" to var2, c. Input values from keyboard and assign them to var3 and var4. d. Print the variables. 4. Trace the following source code and find out the outputs: #print('What is your name?") print ("What is your name?") name = input() # read a single line and store it in the variable "name" print ('Hi'+ name + '!') a = int(input("input the 1st value :")) b = int(input("input the 2nd value:")) s= a + b print ("The sum=",s)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!