Q. What is the output of print(f’Value is {5}’)?
Solution:
f-string f’Value is {5}’ embeds 5, outputting ‘Value is 5’.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
f-string f’Value is {5}’ embeds 5, outputting ‘Value is 5’.
Strengthen Your Practice with our comprehensive question bank.