ASCII value in python by R4R Team

ASCII value stand for American standard code information interchange. it is a character encoding for electronic communication
ASCII values represent text in the computer, telecommunication equipment and other device.
All character either it is number or alphabet or special character have a unique ASCII value.

Program to find the ascii value of character -

print("Enter Any character")
print("ASCII value of "+variable+" is "+str(asciivalue))

output -

Enter Any character
ASCII value of A is 65

Enter Any character
ASCII value of z is 122

Enter Any character
ASCII value of @ is 64

ord() is build-in function which are used to find the ascii value of any character. It take the one argument which is any character(number, alphabet or special character) and return the ascii value of that character.

Leave a Comment:
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!