0

An even value

Can someone explain to me what is an even value example for i in range(0, 20, _): print(_) if for i in range(0, 20, 2): print(i) then how do I know 2 is an even value?

26th Sep 2019, 11:54 AM
Steve Nova
Steve Nova - avatar
3 Respostas
+ 1
Nice thanks
26th Sep 2019, 12:01 PM
Steve Nova
Steve Nova - avatar
0
Any number equally divisible by 2
26th Sep 2019, 11:56 AM
Dlite
Dlite - avatar
0
yep, that easy. 2468etc are ‘even’ 1357etc are ‘odd’
26th Sep 2019, 11:59 AM
Brave Tea
Brave Tea - avatar