num_list = [10, 20, 33, 46, 55]print( num_list)for num in num_list: if num % 5 == 0: print(num)
Standard input is empty
[10, 20, 33, 46, 55] 10 20 55
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!