+ 3

Why print(2) is not working?

24th May 2019, 4:27 AM
Shubham Nayak
Shubham Nayak - avatar
5 Respuestas
+ 3
Are you using Python 3.x? In that case, it should work! If the problem persists, please save your code in Playground and share a link with us. Thanks!
24th May 2019, 6:16 AM
Kishalaya Saha
Kishalaya Saha - avatar
0
numbers are not allowed as variable name. if you want to print just the number 2 then: print("2")
24th May 2019, 5:13 AM
Heribert
Heribert  - avatar
0
right python 3, we still on python2. thanks for correction.
24th May 2019, 1:25 PM
Heribert
Heribert  - avatar