4 ms·
This is really interesting so far. I think I've found a bug when using f-strings: pc.text(f'count: {State.count}'), outputs: count: {state.count} w
by tedmiston 4y ago
This is really interesting so far.
I think I've found a bug when using f-strings:
pc.text(f'count: {State.count}'),
outputs:
count: {state.count}
while...
pc.text('count: ' + State.count),
outputs:
count: 123
(I'm otherwise using the counter example, just with a default value of 123.)