Files
curriculum/1.solar-system/3.strings/07.the-report/starter/starter.py

20 lines
554 B
Python

def format_report(name, status, location, time):
"""Return a formatted mission report as a single string.
The report is 8 lines, joined by '\n'. The borders are 30 equals
signs ("=" * 30). Only the name is uppercased; other fields are
inserted as-is.
format_report("apollo", "ok", "moon", "13:32") returns:
==============================
MISSION REPORT
==============================
Name: APOLLO
Status: ok
Location: moon
Time: 13:32
==============================
"""
pass