Answers for "indentation levels in programming"

1

indentation levels in programming

value = 18
typer = "integer"
if value > 20:
	print("It's greater than 20")
	if typer == "integer":
      print("Oh number")
    else:
      print("Oh no number")

#the fisrt if is on indentation level zero,print inside it is on indentation level 1 and so on
#in some programming languages first level starts as one rather than zero
Posted by: Guest on August-16-2021

Python Answers by Framework

Browse Popular Code Answers by Language