Skip to content

Commit

Permalink
1 file added
Browse files Browse the repository at this point in the history
  • Loading branch information
26rudra committed Jul 18, 2022
1 parent 237d425 commit 69ed5c0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fiveeighteen.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
n = int(input('how many times you want to get ascii value : '))
main_string = ''
for i in range(n):
num = int(input("enter a number between 50-150 to get its ascii value : "))
str = chr(num)
main_string = main_string + str
print(main_string)

0 comments on commit 69ed5c0

Please sign in to comment.