<filename>High School/9th Grade APCSP (Python)/Unit 1/Unit 01.03 (Variables)/01.03.19.py
# 01.03.08 BASIC NAME PROMPT IS BASIC

number = input("Number? ")
print("Number Reversed:", number[::-1], "")
num = int(number)
rev = int(number[::-1])
diff = abs(num-rev)
print("Difference:", diff, "")
diff = str(diff)
revdiff = diff[::-1]
print("Difference Reversed:", diff[::-1], "")
answ = int(diff) + int(revdiff)
print("Answer:", answ, "")

<filename>High School/9th Grade APCSP (Python)/Unit 1/Unit 01.03 (Variables)/01.03.19.py
# 01.03.08 BASIC NAME PROMPT IS BASIC

number = input("Number? ")
print("Number Reversed:", number[::-1], "")
num = int(number)
rev = int(number[::-1])
diff = abs(num-rev)
print("Difference:", diff, "")
diff = str(diff)
revdiff = diff[::-1]
print("Difference Reversed:", diff[::-1], "")
answ = int(diff) + int(revdiff)
print("Answer:", answ, "")

# 01.03.08 BASIC NAME PROMPT IS BASIC