complete 8394.py
This commit is contained in:
6
zeta_python/completed/8394.py
Normal file
6
zeta_python/completed/8394.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
if __name__ == "__main__":
|
||||||
|
Mem = (1, 0)
|
||||||
|
N = int(input())
|
||||||
|
for i in range(1, N):
|
||||||
|
Mem = ((Mem[1] + Mem[0]) % 10, Mem[0] % 10)
|
||||||
|
print(sum(Mem) % 10)
|
||||||
Reference in New Issue
Block a user