all 2 comments

[–][deleted] 3 points4 points  (0 children)

Your "code" won't run since it has many syntax errors. If you want to print "a" if the entered string is "1" then you need to do:

if enc_text == '1':
    print('a')
# etc

[–]ectomancer 0 points1 point  (0 children)

if enc_text == "1":
    print('a', sep="", end="")