From 63b07e64740004c21e81dc39fe633b5ba6b4cb57 Mon Sep 17 00:00:00 2001 From: myselfvanshu <114241992+myselfvanshu@users.noreply.github.com> Date: Sun, 30 Oct 2022 08:56:41 +0530 Subject: [PATCH] Create asciii.py --- asciii.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 asciii.py diff --git a/asciii.py b/asciii.py new file mode 100644 index 0000000..ad08399 --- /dev/null +++ b/asciii.py @@ -0,0 +1,10 @@ +# Program to find the ASCII value of the given character + +c = 'p' +print("The ASCII value of '" + c + "' is", ord(c)) + + + +Output + +The ASCII value of 'p' is 112