InterviewSolution
Saved Bookmarks
| 1. |
Question 2: What is the output of the following program?a = 2b = '3.77'c = -8str1 = '{0:.4f} {0:3d} {2} {1}'.format(a, b, c)print(str1)(A) 2.0000 2 -8 3.77(B) 2 3.77 -8 3.77(C) 2.000 3 -8 3.77(D) 2.000 2 8 3.77 |
| Answer» | |