Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
logic is int i; now if i modulus 4 is equal to zero then print A elseif i modulus 100 is equal to zero then print B elseif i modulus 400 is equal to zero then print C.. //perhaps I don't have knowledge of python you can apply this logic though 😅
14th Aug 2018, 3:43 PM
$hardul B
$hardul B - avatar