3. Show the string that would result from each of thefollowing string formatting operations. If the operation is notlegal, explain why. Use Python shell to solve thisquestion
(a) \"Looks like {1} and {0} for breakfast\".format(\"eggs\",\"spam\") =>
(b) \"There is {0} {1} {2} {3}\".format(1,\"spam\", 4, \"you\")=>
(c) \"Hello {0}\".format(\"Susan\", \"Computewell\") =>
(d) \"{0:0.2f} {0:0.2f}\".format(2.3, 2.3468) =>
(e) \"{7.5f} {7.5f}\".format(2.3, 2.3468) =>
(f) \"Time left {0:02}:{1:05.2f}\".format(1, 37.374) =>
(g) \"{1:3}\".format(\"14\") =>