NPTEL Programming Data Structures And Algorithms Using Python | NPTEL Week 5 Programming Assignment | NPTEL Assignment Solutions

NPTEL Programming, Data Structures And Algorithms Using Python Week 5 Programming Assignment | NPTEL Swayam Assignment Answers 


nptel programming, data structures and algorithms using python



Q.1: Tennis matches can be either 3 sets or 5 sets. The player who wins a majority of sets wins the match (i.e., 2 out 3 sets or 3 out of 5 sets) The score of a match lists out the games in each set, with the overall winner's score reported first for each set.

to win a set, a player has to win 6 games with a difference of 2 games
you have to write a Python program that reads information about all the matches
your program should print out the following


Code:





If you are facing any queries regarding this assignment solutions, then please drop comment in comment section.

Post a Comment

0 Comments