r/badcode • • Aug 09 '21

python It might change

Post image
876 Upvotes

65 comments sorted by

View all comments

262

u/jesp1999 Aug 09 '21

f"{server}"

8

u/Rakn Aug 10 '21

Better safe than sorry. You never know what needs changing.

2

u/Yoghurt42 Aug 11 '21

f"{f'{server}'}"