I imported the below mention libraries but still getting this tracback error
anyone who can help
import cs50
import sys
def main():
if len(sys.argv) is not 2:
print("Please give me valid key")
exit(1)
key = int (sys.argv[1])
m = key %26
if m == 0:
print("invalid key")
code = cs50.get_string()
if code is not None:
for i in range ( len(code)):
c = 0
if cs50.isupper(code[i]):
c = ((ord (code[i]) - 65 + m) % 26 )+ 65
print(chr(c))
elif cs50.islower(code[i]):
c = ((ord(code[i]) - 97 + m) % 26) + 97
else:
print(code[i])
print()
if name == "main": main()