Question [20 points]: Define a class called Name so that the following code will return a greeting sentence as shown bel
Posted: Sun May 15, 2022 1:05 pm
Question [20 points]: Define a class called Name so that the following code will return a greeting sentence as shown below. Note that there are no repeated letters in the output. The order of the letters in {} does not matter. >>> person = Name ("Bob", "Pitt") >>> print (f"{person.hi() } Your name consists of letters {person.letter() }.") Hi, Bob Pitt. Your name consists of letters ('i', 'o', 'b', 'p', 't').