PLZ ANSWER ALL MY QUESTION. Which line of code will display the variable num rounded to the nearest tenth?

A.print(num, round)

B.print(round(num, 1))

C.print(num rounded)

D.print(round(num,.1))