+ 2
Python
What is ASCII code?
5 Answers
+ 7
Prachi Sen ,
ASCII code (American Standard Code for Information Interchange) is a numerical encoding standard for characters such as numbers, uppercase letters, lowercase letters, spaces, some special characters, and control characters. it was originally encoded in 7 bits, so it is capable of describing 128 characters.
ASCII code for 'a' => 97, for 'b' => 98, for 'A' => > 65 (values ââare decimal numbers). the standard was then increased to 256 characters.
to get the ASCII code of a character like the lower case 'a', we can use the `ord(...)` built-in function:
print(ord('a'))Â # => 97
today we are talking more about *unicode* points / characters. unicode is an extended version of ASCII with support for characters for all languages. (appr. 140,000 characters)
see also:
https://en.m.wikipedia.org/wiki/ASCII
https://en.m.wikipedia.org/wiki/Unicode
+ 4
ASCII (American Standard Code for Information Interchange) is a character encoding standard that represents text in computers using numbers. Each letter, digit, or symbol is assigned a numeric code from 0 to 127
for eg:-
the ASCII code for A is 65.
+ 1
Thanks a lot đ
+ 1
Thank you very much đ