+1 (315) 557-6473 

Create a Program to Implement Encoding Decoding in Python Assignment Solution.


Instructions

Objective
Write a program to implement encoding decoding in python.

Requirements and Specifications

program to implement encoding decoding in python
                   program to implement encoding decoding in python 1

Source Code

print("Hello, world!")

print("The string 'Hello, world!' looks like this in Unicode:")

print("Hello, World!".encode())

print("The German word for 'apple' looks like this in Unicode:")

print("Äpfel".encode())

print("The French word for 'window' looks like this in Unicode:")

print("fenêtre".encode())

print("Decoding the first Unicode string to text:")

print(b"Hello, World!".decode())

print(b"\xc3\x84pfel".decode() + " is how you say 'apple' in German.")

print(b"fen\xc3\xaatre".decode() + " is how you say 'window' in French.")