+ 1
x =int(input()) y =int(input()) print(x + y)
Indentation error coming help
4 Antworten
+ 5
You need to unindent second and third lines.
x
y
print()
+ 4
Indentation means the spaces from the left of screen.
This is not indented.
This is indented.
Python uses indentation so you don't have to use curly braces {
+ 2
when they ask for numbers to work with, you first enter the first number, then press enter and write the second one, and only then you start executing the program
+ 2
Remove the space behind the y variable and print fuction.
Thats an indentation error implying y and print is a code under x.