We appreciate your visit to Task Calculate and Display Average Test Scores In this activity you will prompt the user for three test names and their corresponding scores After gathering. This page offers clear insights and highlights the essential aspects of the topic. Our goal is to provide a helpful and engaging learning experience. Explore the content and find the answers you need!

**Task: Calculate and Display Average Test Scores**

In this activity, you will prompt the user for three test names and their corresponding scores. After gathering the three scores, calculate the average and print the results.

**Sample Output:**

```
Please enter the first test name: Variables
Please enter the first test score: 97.3
Please enter the second test name: Printing
Please enter the second test score: 96
Please enter the third test name: User Input
Please enter the third test score: 100
Your average score is: 97.76666666666667
```

Answer :

Answer:

It seems you're looking for a simple Python program that prompts the user for test names and scores, calculates the average, and then prints the results. Here's how you could implement this:

```python

def main():

total_score = 0

num_tests = 3

for i in range(num_tests):

test_name = input("Please enter the test name: ")

test_score = float(input("Please enter the test score: "))

total_score += test_score

average_score = total_score / num_tests

print("Your average score is:", average_score)

if __name__ == "__main__":

main()

```

When you run this Python program, it will prompt you to enter three test names and corresponding scores. After gathering the scores, it will calculate the average and display it. Just copy and paste this code into a `.py` file and run it using a Python interpreter.

Thanks for taking the time to read Task Calculate and Display Average Test Scores In this activity you will prompt the user for three test names and their corresponding scores After gathering. We hope the insights shared have been valuable and enhanced your understanding of the topic. Don�t hesitate to browse our website for more informative and engaging content!

Rewritten by : Barada