fixed last option in assignment-1, changed variable names for better understanding, cleaner code. [perfect code]

This commit is contained in:
K 2023-12-07 14:28:42 +05:30
parent 39e5ac734c
commit 9e047e1c49
Signed by: notkshitij
GPG Key ID: C5B8BC7530F8F43F

View File

@ -1,5 +1,5 @@
''' '''
Problem Statement: In second year computer engineering class, group A students play cricket, group B students play badminton and group C students play football. Problem Statement: In second year computer engineering class, group A student's play cricket, group B students play badminton and group C students play football.
Write a Python program using functions to compute following: Write a Python program using functions to compute following:
a) List of students who play both cricket and badminton a) List of students who play both cricket and badminton
b) List of students who play either cricket or badminton but not both b) List of students who play either cricket or badminton but not both