Header Ads Widget

Responsive Advertisement

CLASS 11 IMPORTANT QUESTION BASED ON PYTHON BASICS


 

1. Find out the error in following code: 

Salary= input(“Salary :”) 
Bonus=10/100 * Salary 
Print (“Bonus”, Bonus)

2. Find out the error in following code: 

Name=input (“What is your Name”) 
print(“Hi”,Name)


3. What will be the output of following code: 

print("Hi", "Manoj!","Good Morning", sep="#", end="$$>") 
print("its", "a pleasant day.") 
print("Do something good for society")

4. Find the error in the following code: 

print(“Current GDP of India is =”, GDP)


5. Rewrite the following code after removing errors. Underline each correction. 

If n==0 :
   print(“Zero”) 2 6
elif : n==1 
    print(“One”) 
elif n==2 
     print(“Two”) 
else n == 3 
     print(“Three”)





getting started with python class 11 questions and answers class 11 python programming questions python fundamentals class 11 important questions python programming questions for class 11 ip important questions for class 11 computer science chapter wise python class 11 ip python practical questions with answers output based questions in python class 11 python output questions with answers

Post a Comment

0 Comments