Exercise 1.8 - formatted strings

Given these variables only:

a = 'Hello'
name = 'Jon'
height = 1.80
hour = 9
minute = 5

use string formatting to print out the following:

HELLO Jon, the time is 09:05am. Jon is 1.8m tall.

Go to Solution 1.8


Back to top