if no raise valueerror if yes convert character to integer and add to result. suppose character is '3' then ord('3') - ord('0') = 51 - 48 = 3.''' ...