Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char_num = int(input())
- sum_chars = 0
- for i in range(char_num):
- sum_chars += ord(input())
- print(f'The sum equals: {sum_chars}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement