while 1 == 1:                          line(1)
    x = 1                              line(2)
    print(x)                           line(3)
        x = x + 10                     line(4)
I started using python today and I learned that it doesn't use brackets {} like java to close a loop, but it uses indentation for it.
The code above runs only if I delete line(4). How should I modify the code so it runs with the last line? I used the the formatting from netbeans and still doesn't run.
How indentation works in python? I find it very weird that it doesn't use brackets.
 
     
     
     
    