0

Indentation is not showing after :(colon)

Py

15th Sep 2021, 7:13 AM
alweena sabir
3 odpowiedzi
+ 1
Please show us your code This may be due to if,elif,else statement right you need to type like this A = 2 if A == 2: print("two") else: print("other number")
15th Sep 2021, 7:50 AM
<★Shaurya Chauhan★>
<★Shaurya Chauhan★> - avatar
+ 1
Sololearn editor doesn't automatically adds a indentation after a colon(:) In other platforms too, its totally depends on the features of editor. You need to manually add a indent by pressing "tab" in Sololearn
15th Sep 2021, 10:44 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
+ 1
AKSHAY🇮🇳 thnx a lot
15th Sep 2021, 12:24 PM
alweena sabir