vendredi 21 février 2020

what does % sign mean in python

what does % sign mean in python? I looked it up and it said that it's a format for the print part, but it's not on the part of the printing so it didn't really help.. here's the code anyway:

a = 5
b = 6
c = 7
for i in range((a+b)*4):
  if i%c == 0:
    print(i)

Aucun commentaire:

Enregistrer un commentaire