Week 8

Text Challenge Discussione

Write a program that allows the user to enter a sentence which the computer will then spell check.
Hint: Use the Dictionary class to look up the definition of each word.
If no definition exists then it can be assumed the word is spelt incorrectly.

INPUT: The kwick brown fox jumps over a lazey dog.
OUTPUT: “kwick” and “lazey” are not correct.

Graphical Challenge Discussione

Write a program that will draw a regular polygon for any given number of sides.
For example if the user enters 5 then the program will draw a regular pentagon.
Hint: You might need to brush up on your trigonometry skills!

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *