Question
1. Write a Python program that collects information about the user's four favorite books. The program should collect the name of the book as well
1. Write a Python program that collects information about the user's four favorite books. The program should collect the name of the book as well as the year they were published. The program should create a tuple for each book in the following format: ('book name', 'published year'), and then add all of the tuples to a list. Finally, The program should display the name of the oldest book (based on its published year) (Tip: If two book were published in the same year, the program should only display one of them.)
2. From part 1, write a Python program to remove characters that have odd index values of the book.
Contribution margin analysis: Create a single company- wide contribution margin income statement for AVS that includes each expense category. Also, calculate the weighted-average revenue and weighted-average operating margin for one bottle of wine. (Note: Do not break out the variable or the fixed costs by type of wine.)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started