print("Unicode character of integer 65 is", chr(65)) print("Unicode character of integer 8364 is", chr(8364)) # Print Alphabets using Unicode for i in range(65, 65+26): print(chr(i), end = " , ")
Here is what the above code is Doing:
1. We are using the chr() function to convert the integer to a character.
2. We are using the range() function to iterate over the integers from 65 to 65+26.
3. We are printing the characters using the print() function.
4. We are using the end keyword argument to print the characters in the same line.