Sample Solution
The following shows one way to solve this problem. It is not the only way this problem can be solved.
teach01_sample.py
"""
Author: Brother Burton
Purpose: Practice formatting strings.
"""
print("Please enter the following information:")
# This prints a blank line
print()
first = input("First name: ")
last = input("Last name: ")
email = input("Email address: ")
phone = input("Phone number: ")
job_title = input("Job title: ")
id_number = input("ID Number: ")
# This time I used a \n to make a blank line before this:
print("\nThe ID Card is:")
print("----------------------------------------")
print(f"{last.upper()}, {first.capitalize()}")
print(job_title.title())
print(f"ID: {id_number}")
print()
print(email.lower())
print(phone)
print("----------------------------------------")
"""
Author: Brother Burton
Purpose: Practice formatting strings.
"""
print("Please enter the following information:")
# This prints a blank line
print()
first = input("First name: ")
last = input("Last name: ")
email = input("Email address: ")
phone = input("Phone number: ")
job_title = input("Job title: ")
id_number = input("ID Number: ")
# This time I used a \n to make a blank line before this:
print("\nThe ID Card is:")
print("----------------------------------------")
print(f"{last.upper()}, {first.capitalize()}")
print(job_title.title())
print(f"ID: {id_number}")
print()
print(email.lower())
print(phone)
print("----------------------------------------")
Download: teach01_sample.py