0

Can anyone tell me more about f"strings in python

Can anyone tell me more about f"strings in python

24th Jan 2022, 3:24 PM
Kavishka Fashion
Kavishka Fashion - avatar
2 Answers
+ 3
Hope this helps clearly... It has detail explanation.. https://realpython.com/JUMP_LINK__&&__python__&&__JUMP_LINK-f-strings/
24th Jan 2022, 3:48 PM
Jayakrishna 🇼🇳
+ 2
num = 12 dbl = num*2 # within {} curly braces you can code # as if in ordinary code lines # and it gets the result print(f'{num} x 2 equals to {dbl}') print(f'{num} x 3 is equal to {num*3}')
24th Jan 2022, 4:06 PM
Shadoff
Shadoff - avatar