Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def print_ascii_characters(start, end):
- for char_code in range(start, end + 1):
- print(chr(char_code), end=' ')
- # Input
- start_index = int(input())
- end_index = int(input())
- # Print the ASCII characters
- print_ascii_characters(start_index, end_index)
Advertisement
Add Comment
Please, Sign In to add comment