Informatics Practices

Try the following code on the Python shell and evaluate the output generated:

>>> print (3.14159*7)
>>> print('I am a class XI' + 'student')
>>> print('I', 'am')
>>> print ("class XI student")
>>> print ("I'm", 16, "years old")

Getting Started

2 Likes

Answer

Output
21.99113
I am a class XIstudent
I am
class XI student
I'm 16 years old

Answered By

3 Likes


Related Questions