0What is the output of the following Python code?x = 7 print(f"{x:03d}|{x/2:.1f}|{x!r}")A007|3|'7'B7|3.5|7C007|3.50|7D007|3.5|7 Correct answer: D ExplanationThe format 03d pads 7 with zeros to 007, .1f shows 3.5, and !r applies repr to the integer 7, which is still 7. Join the discussion Report an error Share