WorksheetsUnderstanding Python Output
Total questions: 10
Worksheet time: 5mins
Whats the output of
print('welcome to oman")
welcome to oman
Error
no output
None of these
Print('I like cats') is there any error if yes then whats the reason if not then whats the output
No error and output is I like cats
Error and reason is print should be all small case
No error and the output is print cat
None of theses
What is the output of the below
print("10*10=",10*10)
10+10=10+10
100=10*10
10*10=100
Error
print('20/20 = 20/20')
20/20=1
20/20=20/20
Error
None of these
Find the error, print('Gulf College)
No Error
closing ' missing
Gulf College
None of the above
What is the output print('I love Oman'
I love Oman
Error as closing bracket missing
No output
None of the above
What is the output of print(100-50)
50
150
Error Message
None the above
What will be the output print('20/20 = '20/20)
20/20 = 20/20
Error message as , missing
20/20 = 1
None of the above
a=2
b='Oman'
print(a+b)
2Oman
OmanOman
error
a+b
a=5
b='Gulf College'
print(b*a)
5Gulf College
Gulf CollegeGulf CollegeGulf CollegeGulf CollegeGulf College
Error
b*a
