Skip to content

Commit 9926dfd

Browse files
Practice Question
1 parent 3500f3a commit 9926dfd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: ascii.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
x = input("enter any character")
22
y = ord(x)
3-
print("ascii value is: " + str(y))
3+
4+
print("ascii value is: " + str(y))

0 commit comments

Comments
 (0)