No products in the cart.

The contents of a text file …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

The contents of a text file named 'fracture.txt' is as shown below: Do you dare stay out, Do you dare go in How much can you lose, How much can you win And if you go in, should you turn left or right You will get so confused that you will start in to race What will be the output of the following code? fin = open('fracture.txt') x = 0 for line in fin: words=line.split() for w in words: if len(w)>x: x = len(w) print(x)
  • 0 answers
http://mycbseguide.com/examin8/

Related Questions

What is mean by buffering in file handling?
  • 1 answers
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