Thread: HELP PLEASE!

Results 1 to 4 of 4
  1. #1
    Nyssaa's Avatar
    Join Date
    Feb 2015
    Gender
    male
    Posts
    154
    Reputation
    10
    Thanks
    14
    My Mood
    Devilish

    Exclamation HELP PLEASE!

    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
    Question 1
    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!')
    Out[]: 4
    In []:how_eligible('Really, not a compound sentence.')
    Out[]: 1
    Question 2
    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()
    Out[]: 7


    Define a function guess_letter() that will pick one letter randomly from the alphabet.

    Question 3
    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.

    In []: matches([11, 12, 13, 14, 15], [3, 8, 12, 13, 17])
    Out[]: 2

  2. #2
    Morbid's Avatar
    Join Date
    Sep 2014
    Gender
    male
    Location
    Time of Repetition
    Posts
    1,453
    Reputation
    243
    Thanks
    233
    You're shit outta luck man, i have no clue .

    --------------------------------------------------------------------------------------------------------------

  3. #3
    Nyssaa's Avatar
    Join Date
    Feb 2015
    Gender
    male
    Posts
    154
    Reputation
    10
    Thanks
    14
    My Mood
    Devilish
    So no one knows how to do this?

  4. #4
    Eternity's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    Forever Ville.
    Posts
    11,027
    Reputation
    1839
    Thanks
    5,413
    Gimme 5 dollars and I will do all of em. Gimme 10 dollars to get half of them right. Gimme 20 dollar to get all of them right

Similar Threads

  1. [Help Request] Help Please ! Crossfire PH or whatever
    By maek0witzki33 in forum CrossFire Help
    Replies: 10
    Last Post: 05-28-2013, 09:18 PM
  2. [Help Request] Black Cipher Help [please help]
    By zubni in forum Combat Arms Help
    Replies: 25
    Last Post: 05-14-2011, 08:50 PM
  3. [Help Request] New. Help Please :)
    By xclutchx in forum Vindictus Help
    Replies: 8
    Last Post: 05-05-2011, 02:52 PM
  4. [Help Request] help please
    By alpha3po in forum Combat Arms Help
    Replies: 6
    Last Post: 05-01-2011, 05:29 PM
  5. [Help Request] [ANSWERED]crossfire Help Please.
    By ownedpjer in forum CrossFire Help
    Replies: 2
    Last Post: 04-30-2011, 03:53 AM