Indentation is not showing after :(colon) | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Indentation is not showing after :(colon)

Py

15th Sep 2021, 7:13 AM
alweena sabir
3 Respostas
+ 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ā˜…>(ACTIVE AGAINāœŒšŸ˜‡šŸ™ƒ)
<ā˜…Shaurya Chauhanā˜…>(ACTIVE AGAINāœŒšŸ˜‡šŸ™ƒ) - 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
15th Sep 2021, 12:24 PM
alweena sabir