PFP191_-_FA_2023_-_PE_939.webp
H

PFP191_-_FA_2023_-_PE_939.webp

  • Media owner Havoc93
  • Ngày thêm
6.00
Question 3 (2 marks)
The given file Q3.py already contains statements to input data for the list of integers. You should write statements to get the element that has the least number of occurrences in the list. If more than one element is found then get the last element
Notes:
- You can create new functions if you see it is necessary.
- Do not edit given statements in the main function.
Sample input and output:
-Input: n = 7
List: 2 3 2 3 3 4 9
After processing: result = 9
Output for marking:
OUTPUT:
9
-Input: n = 9

List: 2 3 2 3 5 2 3 2 5
Chưa có bình luận nào.

Thông tin

Category
PFP191
Thêm bởi
Havoc93
Ngày thêm
Lượt xem
1,643
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PFP191_-_FA_2023_-_PE_939.webp
File size
73.3 KB
Dimensions
1552px x 621px

Share this media

Back
Bên trên Bottom