Comparing for in python and rhombus

I just lost like 1 hour debugging a program in python and I want to complain in spite it's the wrong forum. Anyway, I'd like to document it because the the reverse problem/surprise may be useful if someone is migrating from python to rhombus:

#lang rhombus
def x = 5
for (x in 0..10):
  print(x)
print(x)
// output: 01234567895 

compare the output with

#lang python
x = 5
for x in range(10):
    print(x, end='')
print(x, end='')
# output: 01234567899 
2 Likes