Question: Question: You are asked to write a slogan generator that creates new slogans out of NYU existing mottos slogan1 and slogan2. Your returned result should

Question: You are asked to write a slogan generator that creates new slogans out of NYU existing mottos slogan1 and slogan2. Your returned result should be: "From 'slogan1' and 'slogan2' comes 'slogan1' 'slogan2'. How does that sound?"

Note: You must use f-string to do this question.

Args: slogan1 (str), slogan2 (str) Returns: string

>>> motto_maker("Put in", "a Ramblin' Wreck") "From 'Put in' and ' a Ramblin' Wreck from NYU comes 'Put in a Ramblin' Wreck from NYU'. How does that sound?"

Please provide the Python code and the resulting output.

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!