I'm using python v3.8 with jupyter lab notebook, and I'm having problems with using f-string instead of regular print in a loop. When I write in one cell
a=2
f" a={a}"\
f" a={a+1}+1 "
the output is ' a=2 a=3+1 ' (and without that 'back slash' character it would be just ' a=3+1 ', so I guess second f-string overwrites the first one here), but in the case of the loop like
for i in range(11):
f"{i}"
there is no output at all, while I want numbers to be printed like this
1
2
...
10
What am I doing wrong here?