This might be a silly question, but I really don't know which part is wrong?
I wrote the following code:
b = 0
while b < 10:
print(b, end=" ")
b = b + 1
But I always got this error message:
File "/Users/l/Desktop/test.py", line 3
print(b, end=" ")
^
SyntaxError: invalid syntax
Could someone give me a little help? Thanks!