Off topic:what is y%x == 0 in python
0
0
Entering edit mode
2.9 years ago
mikysyc2016 ▴ 80
>>> for y in range(2,N):
...      for x in range(2,y):
...           if y%x == 0:
...              print(y,'equals',x,'*',y//x)
...              break

Do not understand " y%x " Thanks!

software error • 678 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2818 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6