A,B,N = input().split() for i in range(int(N)): A = (int(A)%int(B))*10 j = A//int(B)print(j)
1 3 52812
3
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!