input: Write a function to calculate the checksum of a string.
  assert calculate_checksum("hello") == 532 % 256
  assert calculate_checksum("world") == 552 % 256
  assert calculate_checksum("python") == 642 % 256
output: def calculate_checksum(s):
      return sum(ord(c) for c in s) % 256