Assignment
University
CollegeCourse
College Computer SciencePages
1
Academic year
2023
Avaiya Priyank
Views
0
p {margin: 0; padding: 0;} .ft00{font-size:16px;font-family:Calibri;color:#000000;} .ft01{font-size:23px;font-family:Calibri-Light;color:#ff0000;} .ft02{font-size:23px;line-height:31px;font-family:Calibri-Light;color:#ff0000;} Q9. Counts the number of occurrences of item 50 from a tuple tuple1 = (50, 10, 60, 70, 50) t1 = (50, 10, 60, 70, 50) a=t1.count(50) print(a)
Counting Occurrences of an Item in a Tuple
Please or to post comments