I'm in this class called CSE for school and it involves programming in python. The problem is I have been sick and gone for the last week so I have no idea what's going on or how to code any of it and now the teacher just announced that it's all due tomorrow at midnight so can someone please teach/help me code all of this?Thanks
13. A social media site offers a contest to write a humorous short paragraph. A constraint on the creative format: the entry must include a question, a quote, a compound sentence, and an exclamation. These would contain the characters ?, ", ,, and !, respectively.
Create a function how_eligible(essay) that returns 0 to 4, equal to the number of these four characters that the essay included.As pair programmers, generate ideas for how to solve this problem, strategize, and then code and test iteratively.
In :how_eligible('This? "Yes." No, not really!')
In :how_eligible('Really, not a compound sentence.')
15. Define a function roll_two_dice() that simulates rolling two six–sided dice and returns the total. Pair program, strategizing first.
In : roll_two_dice()
Define a function guess_letter() that will pick one letter randomly from the alphabet.
a. Define a function roll_hundred_pair() that produces a histogram of the results of 100 rolls of two 6-sided dice.
b. A lottery ticket contains five unique numbers. A set of unique numbers does not contain repeated elements. The winning combination of this lottery is chosen by picking five unique numbers. Define a function matches(ticket, winners) that takes two lists and returns an integer that says how many numbers the two lists have in common.