May-24-2018, 08:07 PM
(May-24-2018, 03:33 PM)hitesh222002 Wrote: f = open("C:/test/my_data.txt")
(May-24-2018, 03:33 PM)hitesh222002 Wrote: // my_data contains the following data :
Your data is in a file named
my_data
, but the program is reading my_data.txt
. Those are not the same thing. There's no output, because there's no input.