Answered step by step
Verified Expert Solution
Question
1 Approved Answer
need halp. a detailed walkthrough of what I need to do because everytime i get far enough through the program my time smooth brain shrivels
need halp. a detailed walkthrough of what I need to do because everytime i get far enough through the program my time smooth brain shrivels and stops to work. DESPERATE!. (everything for the python program is detailed below)
the output im expecting is to remove the repeating lines within the coded lyrics. while maintaining the same lyric set. and not using extra unecessary code
using loops
CSCI 107 Assignment 4 Due Date: Friday, February 21st no later than 11:58 p.m. Partner Information: Everyone must complete this assignment individually. Submission Instructions: Upload your solution, entitled Your FirstName-Your LastName- Assignment4.py to the BrightSpace Assignment 4 Dropbox. Deadline Reminder: Once the submission deadline passes, BrightSpace will no longer accept your submission and you will no longer be able to earn credit. Thus, if you are not able to fully complete the assignment, submit whatever you have before the deadline so that partial credit can be earned. Introduction Ylvis' music video entitled "The Fox" went viral in September 2013 and has been viewed more than 911 million times! The Fox Lyrics - 100 points Your mission, if you choose to accept it, is to minimize repeated words and phrases of "The Fox" that appear in fox.py. Requirements and Grading 35 points - There are seven lines that have repeated words in them. Eliminate the repetitions by using loops or other appropriate Python constructs. (5 points per line.) 30 points - There are two sets of consecutive lines that repeat. Eliminate these repetitions using loops. (15 points per set.) 15 points - The Python solution is easy to understand and does not contain unnecessary code. (5 points per type of improvement.) 20 points - The lyrics to "The Fox" print out exactly the same way that they do in fox.py. (10 points per type of difference.) - - - - - - - - - - - - - - - - - - - - # Your name # CSCI 107, Assignment 4 # Last Updated: ??, 2020 # ------------- # Eliminate repeated words and phrases to # these lyrics of "The Fox" while keeping # the lyrics the same. # ------ -- - - - - - - - print("Dog goes woof, cat goes meow.") print("Bird goes tweet, and mouse goes squeak.") print("Cow goes moo. Frog goes croak, and the elephant goes toot.") print("Ducks say quack and fish go blub, and the seal goes OW OW OW.") print("But there's one sound that no one knows...") print("WHAT DOES THE FOX SAY?") print() print("Ring ding ding ding dingeringeding!") print("Gering ding ding ding dingeringeding!") print("Gering ding ding ding dingeringeding!") print("WHAT DOES THE FOX SAY?") print("Wa pa pa pa pa pa pow!") print("Wa pa pa pa pa pa pow!") print("Wa pa pa pa pa pa pow!") 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