W2.Indv.T1

PHOTO EMBED

Mon Jan 02 2023 23:47:16 GMT+0000 (Coordinated Universal Time)

Saved by @Shaghaf_2000 #python

# first step is getting inputs from the user:
firstName = input("Enter your first name: ")
lastName = input("Enter your last name: ")
title = input("Enter your preferred title: ")

# capitalize the first letter only:
firstName = firstName.capitalize()
title = title.capitalize()

# capitalize the whole word:
lastName = lastName.upper()


print(f"Greetings, {title}. {firstName} {lastName}")
content_copyCOPY