Q3
Which of the following is an f-string in Python?
A.
f"Hello {name}"
AnswerB.
"Hello {}".format(name)"
C.
"Hello %s" % name
D.
format("Hello {}", name)
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board