DEV Community

loading...

Discussion on: Achieving asynchronous behavior using asyncio in Python

Collapse
hanpari profile image
Pavel Morava

May I know why do you use the format method in Python 3.8 instead of f-strings?
Do you prefer it? If so, why?

Collapse
singh1114 profile image
Ranvir Singh Author

Haven't really started using them yet not a particular reason to do that. Let me know, which one do you prefer?

Collapse
hanpari profile image
Pavel Morava

f-strings since they are more concise

Thread Thread
singh1114 profile image
Ranvir Singh Author

Checked them out. They are super concise. Changed the post accordingly.