indentation levels in programming

Solutions on MaxInterview for indentation levels in programming by the best coders in the world

showing results for - "indentation levels in programming"
Louisa
08 Jan 2019
1value = 18
2typer = "integer"
3if value > 20:
4	print("It's greater than 20")
5	if typer == "integer":
6      print("Oh number")
7    else:
8      print("Oh no number")
9
10#the fisrt if is on indentation level zero,print inside it is on indentation level 1 and so on
11#in some programming languages first level starts as one rather than zero