From 8782352d759d935fef8cf46d15c4bbbc8e06f4e0 Mon Sep 17 00:00:00 2001 From: Chaitanya Dubal <102644586+chaitanyadubal@users.noreply.github.com> Date: Sun, 9 Oct 2022 22:45:13 +0530 Subject: [PATCH] Add files via upload --- Program-to-find-the-ASCII-value.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Program-to-find-the-ASCII-value.py 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))