Program - Returns an integer value for the given character
Topic: Program - Returns 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
Solution
str = "A" val = ord(str) print(f"Integer value for the given character?:{val}")