Basics of Python (II)

What is the output of the Python2 code given below?

1
2
x=2
print x=3

3 False Error! True 2

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Fahim Saikat
Jul 21, 2017

the code will give SyntaxError: invalid syntax

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...