2
DrSwift
7y

More like :
For number in range(5){
Your code
}
Or
For number in range(5)
{
Your code
}

( I know that in python for is not use with { that was just for the exemple )

Comments
  • 1
    first one
  • 3
    Always first. Hate it when an IDE automatically puts the { on the next line.
  • 0
    When I started programming, I used 2).
    But then in CSS I used 1), it was cooler and now I only use 1).
  • 1
    I Like 1 for compact code, 2 for readability. Whenever i write code i use 2, when i am done, i auto-format to 1 :)
Add Comment