100 POINTS
Write a program in python to print how many numbers are divisible by 5 between 1 to 50.
Answers
Answered by
0
• l = list [ range [ 1 , 5 1 ] ]
• a = int [ Input [ 1 ]
• count = [ - 1 ]
• [ I = l ] :
• [ I % 5 = 0 ] :
• count = count + 1
• Print = [ count ]
Answered by
2
Answer:
• l = list [ range [ 1 , 5 1 ] ]
• a = int [ Input [ 1 ]
• count = [ - 1 ]
• [ I = l ] :
• [ I % 5 = 0 ] :
• count = count + 1
• Print = [ count ]
Similar questions