Using end keyword
# print each statement on a new line
print("Python")
print("is easy to learn.")
# new line
print()
# print both the statements on a single line
print("Python", end=" ")
print("is easy to learn.")
Using decode() print(b'Easy \xE2\x9C\x85'.decode("utf-8"))
0 Comments