PHPz2017-04-17 16:45:09
There is no '''else if''' statement in Python. The equivalent is '''elif'''. The name is also the "abbreviation" of the former
PHPz2017-04-17 16:45:09
elif in python is else if in other languages, just the name is different.
ringa_lee2017-04-17 16:45:09
There is no else if in python, only elif, which is equivalent to else if in other languages.
天蓬老师2017-04-17 16:45:09
No, python is to make the code more beautiful, so else if is abbreviated to elif