dsPython reading numbers from a file This is a Python Program to read a text file and print all numbers present in the text…byJohn