Professional Documents
Culture Documents
Assignment 1
Assignment 1
In [40]: '''QUESTION 1'''#Write a Python code to code print "Welcome to Vityarthi" twice
'QUESTION 1'
Out[40]:
a = 10
b = a
print("a =", a)
print("b =", b)
Welcome to Vityarthi
Welcome to Vityarthi
a = 10
b = 10
In [41]: '''QUESTION 2'''#Write a Python program that asks the user to input their name,
'QUESTION 2'
Out[41]:
In [42]: '''QUESTION 3'''#Write a Python program that asks the user to input two numbers
'QUESTION 3'
Out[42]:
file:///Users/samarth/Downloads/ASSIGNMENT%201.html Page 1 of 1