Log In
WA in LASTDIGIT
Online Judge System
ProblemSet Archive
davis_cook
2017-06-10 18:53:26 UTC
#1
I'm getting WA and i don't understand why.
def lastdig (a,b):
print (a ** b % 10)