This lesson’s Group Activities are: Talk like a Pirate! In this activity you are to create an…

This lesson’s Group Activities are:

Talk like a Pirate! In this activity you are to create an English to Pirate Translator. Users should input a phrase and your program should translate it into pirate speak. A few rules:

1. Certain words need to be converted:

• hello becomes ahoy
• hi becomes yo-ho-ho
• my becomes me
• friend becomes bucko
• sir becomes matey
• where becomes whar
• is becomes be
• the becomes th’
• there becomes thar
• you becomes ye
• anything which ends in -ing becomes -in’

2. You need to obey capitalization and punctuation: if the word is capitalized, then its translation should also be capitalized. If the sentence ends in a period, then the translation should end in a period. To keep punctuation simple, you can stick to coding for commas and periods, and ignore all the rest.

3. Pirates like the word “arr”. For fun, randomly insert it into your translation.

4. Remember to use all the tools in your arsenal, especially mainline logic, functions, loops, and error handling.

python language

section 2

This lesson’s Group Activities are:

Write a program which prompts the user to enter a number, then generates that number of random integers and stores them in a list. It should then display the following data to back to the user:

• The list of integers
• The lowest number in the list
• The highest number in the list
• The total sum of all the numbers in the list
• The average number in the list
• At a minimum, the numbers should range from 0 to 50, but you can use any range you like.

Helpful hint: don’t forget about input validation loops. They are very useful when used in conjuction with functions.

python language

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
\$26
The price is based on these factors:
Number of pages
Urgency
Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.