Question: Write a function def fullName to have user input their full name and then print their first name and last separately and with proper case.

Write a function def fullName to have user input their full name and then print their first name and last separately and with proper case. ## TRY TO USE SINGLE INPUT FOR TWO NAMES AND IF THEY'RE FUNKY ie. miChaEl
def fullName(string):
first = fullName(string).split ()
first = first.capitalize()
last = fullName(string).split ()-1
last = last.capitalize()
return fullName
def main() :
fullName =(input("Enter your full name: "))
print("First name is", fullName(string),". And last name is", fullName(string))
main()
 Write a function def fullName to have user input their full

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!