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

3 Likes

Answer

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

Answered By

2 Likes


Related Questions