Update input method from raw_input to input

This commit is contained in:
Bill Buchanan
2026-01-15 18:25:55 +00:00
committed by GitHub
parent 6fe88b0b60
commit 2bc924e3d7

View File

@@ -1,7 +1,8 @@
message = raw_input('Enter message: ')
message = input('Enter message: ')
e = input('Enter exponent: ')
p = input('Enter prime ')
cipher = (int(message) ** int(e)) % int(p)
print (cipher)