40.py 217 B

12345678
  1. champ = ""
  2. concat = 1
  3. while len(champ) < 1000010:
  4. champ += str(concat)
  5. concat += 1
  6. print int(champ[0]) * int(champ[9]) * int(champ[99]) * int(champ[999]) * int(champ[9999]) * int(champ[99999]) * int(champ[999999])