Please enter your email address or userHandle.
Given a number as string(n) , find the remainder of the number whe it is divided by 7
You only need to complete the function remainderwith7() that takes string n as parameter and returns an integer which denotes the remainder of the number when its divided by 7
1<=length of n <=105
We strongly recommend solving this problem on your own before viewing its editorial. Do you still
want to view the editorial?
Login to access your submissions.