diff --git a/Program-to-find-the-ASCII-value.py b/Program-to-find-the-ASCII-value.py new file mode 100644 index 0000000..7fb487a --- /dev/null +++ b/Program-to-find-the-ASCII-value.py @@ -0,0 +1,4 @@ +# Program to find the ASCII value of the given character + +c = 'p' +print("The ASCII value of '" + c + "' is", ord(c))