Project Euler 40 - Champernowne's constant

Official link: https://projecteuler.net/problem=40

Thought Process

Extremely simple problem, I just create a string and loop through x from 1 to 1000 and add str(x) to the string and I can easily find position 0, 9, 99, etc

Interactive Code

Input an integer (yourinput)

Code will output d(yourinput)