Write a program that asks for the name and number of points scored by two basketball players.

Question

Write a program that asks for the name and number of points scored by two basketball players.
🧐 Not the exact question you are looking for?Go ask a question

Solution 1

Sure, here is a simple Python program that does that:

# Ask for the name and number of points scored by the first player
player1 = input("Enter the name of the first player: ")
points1 = int(input("Enter the number of points scored by the first player: "))

# Ask for the name and number o
    Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study prob
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solv

This problem has been solved

Similar Questions

Write a program that asks for the name and number of points scored by two basketball players.

: The points scored by a basketball team in a series of matches are follows: 17, 7, 10, 25, 5, 10, 18, 10 and 24. Find the range

Is this sentence in active voice or passive voice?During his 1961–62 season, basketball player Wilt Chamberlain scored more than four thousand points.

.Write a Python program to store marks scored in subject “Fundamental of DataStructure” by N students in the class and perform different operations.

Write a program to write data into binary file marks.dat anddisplay the records of students who scored more than 95marks.

1/3