0

Can we solve aptitude questions with python

I try some questions successfully. But many are so difficult to me as I am a beginner to python. Can you help by telling about solving in python. n =548 m = 12 if (int(n) % int(m)) == 8 : print('yes') else : print('no') aa =548 m = 15 if (int(aa) % int(m)) == 8 : print('yes') else : print('no') bb =548 m = 20 if (int(bb) % int(m)) == 8 : print('yes') else : print('no') cc =548 m = 54 if (int(cc) % int(m)) == 8 : print('yes') else : print('no') This works to find a multiple.

22nd Oct 2020, 2:05 AM
KETHA SRAVANI
2 Answers
+ 2
Ok I will tq
24th Oct 2020, 4:02 PM
KETHA SRAVANI