for i in range(3): category = input("Enter a Category: ") for j in range(3): enter_for_category = input("Enter Something in that category: ")This is what i'm supposed to do:
Write a program that asks the user for three categories. For each category, ask the user for three things in that category. You should print something for each category that states the category and the three things in that category.
Here is what running your final program should look like:
Enter a category: animals
Enter something in that category: cheetah
Enter something in that category: pelican
Enter something in that category: red panda
animals: cheetah pelican red panda
Enter a category: noises
Enter something in that category: vroom!
Enter something in that category: whirrr!
Enter something in that category: whooosh!
noises: vroom! whirrr! whooosh!
Enter a category: programming languages
Enter something in that category: Python
Enter something in that category: Java
Enter something in that category: C++
programming languages: Python Java C++
This is my results:
Enter a Category: animals
Enter Something in that category: bird
Enter Something in that category: cat
Enter Something in that category: dog
Enter a Category: noise
Fixed