Try the following code on Python shell and evaluate the output
generated:
(a) print(3.14159*7)
(b)print(‘I am a class XI’ + ‘student’)
(c) print(‘I’,’m’)
(d)print(‘class XI student’)
(e) print(‘I ‘m’,16,’years old’)
Answers
Answered by
4
Answer:
a) 21.99113
b) I am a class XIstudent
c) I m
d) class XI student
e)Syntax Error
Question should be print('I ''m',16,'years old')
And answer : I m 16 years old
Explanation:
Answered by
0
Answer:
(a) 21.99113
(b) I am a class XIstudent
(c) error
(d) class XI student
(e) error
Similar questions