Guest User

Untitled

a guest
May 23rd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. import math
  2. while True:
  3. try:
  4. numero = int(input())
  5. recebe = pow(9,numero)
  6. string = str(recebe)
  7. tam = len(string)
  8. print(string[tam-1])
  9. except EOFError:
  10. break
Add Comment
Please, Sign In to add comment