complete 8394.py
This commit is contained in:
1 parent
a5482c5c8f
commit
01f0220891
1 file changed
+6
@@ -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