79148242

Date: 2024-11-01 13:58:32
Score: 2
Natty:
Report link

Here's my approach, quite simple!

x = eval(input("Enter a power: "))
y = eval(input("How many last digits do you want? "))

print((2**x)%(int('1'+y*'0')))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Prince Mensah