# file: encoding.py # This program encodes a message using ASCII codes # def main(): print("This program encodes the given message using ASCII codes") message = input("Please, input the message and press Enter: ") print("Here is the encoding of the provided message:",end="") for ch in message: print(ord(ch),end=" ") main()