Kizspy.me
Output for marking:
OUTPUT:
383
Output for marking:
OUTPUT:
Output for marking:
OUTPUT:
0
383
Question 3: (2.5 marks)
The given file Q3.py already contains statements to input data for the list. You should write statements
to count the number of values whose last digit is 5 in the list.
Notes:
-Do not edit given statements in the main function.
- You can create new functions if you see they are necessary.
Sample input and output:
Please enter the size of the array: 5
a[0]=10
a[1]=15
a[2]=1
a[3]=25
a[4]=48
Output for marking:
OUTPUT:
Zoom
+ 100%
Please enter the size of the array: 5
a[0]=10
a[1]=15
a[2]=15
a[3]=25
a[4]=48
Output for marking:
OUTPUT:
Close