if # is an operation which results in adding the digits of integer until a single digit is left , what is the probability that a number picked up in first 90 positive integers will have the result of # as an odd digit ? ( example 99 = 9 + 9 = 18 = 1 + 8 = 9 , so # = 9 )
n0 = 90.0
n1 = 99.0
n2 = 9.0
n3 = 9.0
n4 = 18.0
n5 = 1.0
n6 = 8.0
n7 = 9.0
n8 = 9.0
t0 = n2 + n5
t1 = t0 / 2.0
answer = t1 / n2
print(answer)