osmarks

Untitled

Feb 22nd, 2021
520
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python3
  2.  
  3. def ascii_values_sum(string):
  4.     return sum(map(ord, string))
  5.  
  6. print(ascii_values_sum(input("String 1: ")) - ascii_values_sum(input("String 2: ")))
RAW Paste Data