0

Help please

Help please you can order this code print(cont) file.close() cont = file.read() file = open("test.txt")

9th Aug 2020, 8:48 PM
Federico Pacal Sarmiento Bunimov
Federico Pacal Sarmiento Bunimov - avatar
2 Antworten
0
What is your trouble there? What is your try? Edit :? OK. Here it is.. file = open("test.txt") #open file cont = file.read() #read file print(cont) #print readings file.close() #close file
9th Aug 2020, 8:56 PM
Jayakrishna 🇮🇳
0
file = file.open("test.txt") cont = file.read() print(cont) file.close()
9th Aug 2020, 8:57 PM
Tarek Hammami
Tarek Hammami - avatar