Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7.3 Create a function called initials that takes in a person names and then returns the initials. You should pass the names using For example

7.3 image text in transcribed
Create a function called initials that takes in a person names and then returns the initials. You should pass the names using For example for it should return Or, for John Ronald Reuel Tolkien it should return (one to rule them all). Copy this code into main.py to get started. def initials(*args): pass if name_=" "-main_"" print(initials("James", "Marshall", "Hendrix")) \# should print the return value of "J.M.H" print(initials("John", "Ronald", "Reuel", "Tolkien")) \# should print the return value of "J.R.R.T

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Explain the four major principles of risk classification.

Answered: 1 week ago