No products in the cart.

Write a phython program to read …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write a phython program to read an entire text file "myfile.txt".
  • 5 answers

Abhijeet Pratap Singh 3 years, 8 months ago

Who are you??

A Kumar 3 years, 9 months ago

Answer of A Kumar is 100+1 percent right

A Kumar 3 years, 9 months ago

f=open ("myfile.txt",'r') x=f.read() print(x) f.close()

Mandavi Kushwaha 3 years, 9 months ago

f= open("myfile.txt","r") l=f.read() for i in l: print (i)

Kanishka Jha 3 years, 9 months ago

File=open("myfile.txt","r") F=File.read() for i in F: print(i)
http://mycbseguide.com/examin8/

Related Questions

What are called tokens
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App