Psst! Check what courses we have in our offer, and get them all here to save $727. Tick-tock—this deal ends on 3/21.
6. Question 5


Amazing! Only three more questions!


Help Vertabelo congratulate our students when they finish a course! Write a function named get_congratulations(completed_info) that accepts a tuple with two values: the name of the student, and the datetime when the student finished the course. Your task is to return the following string:

{name}, congratulations! You've completed the course on {datetime}.

The {datetime} should be formatted the following way:

Friday, 05 October 2018 at 01:30 PM

Stuck? Here's a hint!

As in one of the previous questions, remember to import the datetime module first.

Use the strftime() function. You'll need the following elements: %A, %d %B, %Y, %I, %M, and %p.