Advertisement
JkSoftware

Day 2 - Data Type Challenge

Nov 4th, 2021
1,082
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #  Don't change the code below
  2. two_digit_number = input("Type a two digit number: ")
  3. #  Don't change the code above
  4.  
  5. ####################################
  6. #Write your code below this line
  7.  
  8. num1 = int(two_digit_number[0])
  9. num2 = int(two_digit_number[1])
  10. print(num1 + num2)
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement