samedi 18 novembre 2017

How to combine "for" and "if" in python?

Someone can tell me how I can use the following command in Python

for i in range (1,):
if i%(for j in range(1,10))==0:
    print (i) 
    break

how I can do that ?

Aucun commentaire:

Enregistrer un commentaire