+ 2

Why my code shows me an error?

I want to know why my code is showing me an error? https://code.sololearn.com/c1qKZP7HKCNv/?ref=app

9th Mar 2021, 3:20 PM
K.S.S. Karunarathne
K.S.S. Karunarathne - avatar
2 Réponses
+ 1
it's a python easter egg (joke)... __future__ is a module for backward-compatibility (helping python2 users to migrate to python3) and is intended to enable features of python3 not implemented (by default) in python2... 'not a chance' means that this (braces) should never be implemented (delimiting blocks by braces instead of indentation). you this joke to others such as 'import this' wich output zen of python, or import __hello__ wich output "Hello world!" ;P
9th Mar 2021, 5:09 PM
visph
visph - avatar
0
You have found an easter egg in Python. It is a joke. It means that delimiting blocks by braces instead of indentation will never be implemented.
9th Mar 2021, 4:59 PM
Kodirbek Makharov
Kodirbek Makharov - avatar