What does the following code output?
minutes = 135
print(f'{minutes // 60} h {minutes % 60} min')Show solution
Correct answer: B
// performs integer division: 135 // 60 gives 2. % returns the remainder of that division: 135 % 60 gives 15. In an f-string, the expressions in curly brackets are evaluated and inserted. 2.25 would be the result of 135 / 60.