Page 126 - Computer Genius Class 08
P. 126
Experiential Learning
Competency-based/Application-based questions Information Literacy
1. Ravi is not very good in coding. Ravi has written below a statement to display his name.
Print ("My name is Ravi").
What do you think will it execute or will display an error?
2. Simran has written the following code to show addition of a number with 10.
N um=int(input("enter the number))
print(N um+10)
But this code is showing error, write the reason behind this.
Critical Thinking
LAB Activity Interdisciplinary Learning
A. Write a program in Python to print the following using print command.
1. Hello, How are you? I am learning Python language.
2. Education is the most powerful weapon which you can use to change the world.
B. Assign values 6.8 to variables p, q, r and s. Then print the values of p,q, r and s.
C. Write a Python program to take input from users as integers and print the sum of these numbers.
D. Write a program that accepts three integers and print the largest of the three.
124 Computer Genius-VIII

