Answer:
number = 79
left_digit = int(number / 10)
right_digit = number % 10
print(str(left_digit) + " " + str(right_digit))
Explanation:
- Initialize the number
- In order to find its left digit, divide the number by 10 and get the integer part of the division.
- In order to find its right digit, use modulo operation
- Print the results