current position:Home>Why not 13bingo

Why not 13bingo

2022-02-02 18:33:19 CSDN Q & A


Refer to the answer 1:

for i in range(1,10,2)
It means , The initial value is 1, Not more than 10, And in steps of 2 , That is, those who actually participate in the cycle i The value of is 1,3,5,7,9.
The following judgment is , If this i Can be 5 to be divisible by , Then output bingo, Otherwise output i. So whether the number and the number involved in the cycle can be 5 to be divisible by ,, exclude B.C.D.

Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.

Random recommended