0

Is it necessary to place a space when writing statement of the "if"?

When the space is not provided it shows me indentation error. https://code.sololearn.com/cGnhU8wFF0RI/?ref=app

7/11/2019 3:19:17 AM

Aritra Majumder

4 Answers

New Answer

+3

yes it is needed

+3

you can go read some answers on if statement in the lesson(i just have checked it quick and it well explained there)

+3

if 10>5: print("10>5") else: print("10<=5")

+3

Yes in Python.