Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
How to Find ASCII Value of Character using Python?
The ord function in python gives the ordinal value of a character(ASCII). You can use this function to find the ascii codes as follows
Example
s = "Hello" for c in s: print(ord(c))
Output
This will give the output
72 101 108 108 111
Advertisements
