using range (1,101) make list, containing only numbers which are divisible by 4, 6, 8, 10, 3, 5, 7 and 9 in separate lists in python??
World Languages
monahesham2006
Question
using range (1,101) make list, containing only numbers which are divisible by 4, 6, 8, 10, 3, 5, 7 and 9 in separate lists in python??
1 Answer
File Size: 23.8 MB
File Type: PDF / ePub
Uploaded on: 2024-01-18 05:10:00
READ ANOTHER ANSWER
Last checked: 1 hours 14 minutes ago!
Rating: 4.6/5 from 2955 votes.
-
1. User Answers Anonym
#hint
for i in range (1,101):
if i%2 == 0:
even.append (i)
else:
odd.append (i)