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