What will be printed on the screen if the value of age is 21.
Answers
Answered by
3
Complete question:
name= "Neeru"
age = 21
print(name,"your age",age,"now but")
print ("you will be",age+1,"next year")
Output:
Neeru your age 21 now but
you will be 22 next year
Practice questions:
Question 1: Find the output:
sum = 0
for i in range (1 , 25 , 2)
sum = sum + i
print(sum)
Question 2: Find the output
fact = 1
for i in range (1 , 5)
fact = fact * i
print(fact)
Similar questions