fork download
  1. num_list = [10, 20, 33, 46, 55]
  2. print( num_list)
  3. for num in num_list:
  4. if num % 5 == 0:
  5. print(num)
Success #stdin #stdout 0.04s 62952KB
stdin
Standard input is empty
stdout
[10, 20, 33, 46, 55]
10
20
55