Page 98 - IPP-11
P. 98
Supplement – Informatics Practices with Python–XI
2. Vidyarthi Gurukul conducts physical training camps for the physical well-being of its students. This camp
is held for one week on the outskirts of the city. The entire group of students are represented as a
list. The list stores the roll numbers of the participants for camp activities. As part of this training,
the entire stream of students is divided into two halves. While the first group of students goes for
physical training, the second group goes for aerobic classes and in the later half, both these groups are
swapped.
Write a Python program that maintains and displays details about the swapping of activity classes and
awards them stars on completion of each activity.
Ans.
C.4