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.
2 Answers
+ 6
Try finishing the python course.
https://www.sololearn.com/Course/Python/?ref=app
https://code.sololearn.com/ccEN4Slzk9VT/?ref=app
+ 2
Ok I will tq