Question: write the code by pythone Print vs return Write a function with two input strings in the definition: name and surname. And it must print

write the code by pythone

Print vs return

Write a function with two input strings in the definition: name and surname. And it must print the capitalization of the inputs. To get the capitalization of a string named name, you use: name.capitalize().

Write the function and the main required to test it.

Reply below (only code here):

Write a function with two input strings in the definition: name and surname. And it must return 2 variables, Name and Surname, respectively, that are the capitalization of the inputs. To get the capitalization of a string named name and save it in Name, use: Name=name.capitalize().

Write both the function and the main required to test it.

Reply below (only code here):

Provide the screenshot of the run output (entire screen, no cuts).

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!