Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 3 . (4 points) Write a Python function with 5 input values bibformat(author, title, city, publisher, year) which returns a string in format: author(year).

image text in transcribed
Question 3 . (4 points) Write a Python function with 5 input values bibformat(author, title, city, publisher, year) which returns a string in format: author(year). title. city: publisher (see examples in the tests section below). The type contract of the function is: (str,str,str,str, int)->str. Question 4. (4 points) Write a Python function called bibformatPrint() that reads from the keyboard the title of a book, the name of the author, the year of publication, the publisher and the city of the publisher. The type contract of the function is: 0> None. The function must display the information about the bpok in the format specified in question 3 . You must use the bibformat function from question 3 to obtain the string of characters to print

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

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Describe the linkages between HRM and strategy formulation. page 74

Answered: 1 week ago

Question

Identify approaches to improving retention rates.

Answered: 1 week ago