+ 3
Why my code does not give me any output.
x=4 b=6 i=2 while i<x: if(x%2==0 and b%2==0): z=(x//2) w=(b//2) if([z%j==0 and w%j==0 for j in range(2,10)]): print('Hi') i+=1 else: i+=1
3 Réponses
+ 10
post codes in future in codeplayground
+ 2
I solve it I forgot to use any before if statement in line 8