how to get the number in the tenths place of a integer in python code example
Example: how to get the number in the tenths place of a integer in python
def get_pos_nums(num):
pos_nums = []
while num != 0:
pos_nums.append(num % 10)
num = num // 10
return pos_nums