My aim is to be able to input a large (6 digit) number into a terminal and for it to return the middle two digits, swapped.
My code is as follows:
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
f = int(input())
addition = ((a * 0) + (b * 0) + (d * 10))
addition_two = ((c) + (e * 0) + (f * 0))
print(addition + addition_2)
I'm unsure of how to adjust this in order for it to work correctly.