1.2.4 Create Your Judge Program

1.2.4 Create Your Judge Program

Create your own poetry judge program! Use the code editor below to build a program that scores poetry (or any text) using multiple judges.

Requirements

Your program must have:

  • User input for the poem content - Ask the user to enter a poem, joke, rap, or any text
  • User input for the first judge's score - Get the first judge's score from the user
  • Each judge's score displayed as a whole number - Use int() to cast scores to integers
  • All judges' scores printed on one line, separated by tabs - Use \t to separate scores
  • Display of the total score - Calculate and print the total of all judges' scores

Where you can get creative:

  • You can use any formulas you want to calculate your other judge scores, just remember to display them as whole numbers
  • You can ask your user to do anything for the text input, it could be a poem, a joke, a rap, or something else!

Build Your Judge Program

Use the editor below to write your code. The evaluation checklist will update as you code, showing you what you've completed and what still needs work.


Congratulations on completing your second Natural Language Processing project!

Loading Python environment...