Write a program to Return an integer value for the given character


Topic: Write a program to Return an integer value for the given character

Solution

str = "A"
val = ord(str)
print(f"Integer value for the given character?:{val}")



List all Python Programs