No products in the cart.

Write a short python code segment …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write a short python code segment that prints the longest word in a list
  • 1 answers

Deepak Jain 2 years, 6 months ago

Long=len(L[0]) Longest=L[0] for i in L: if len(i)>Long: Long=len(i) Longest=i print(Longest)
http://mycbseguide.com/examin8/

Related Questions

What are called tokens
  • 0 answers
Whate is global scope
  • 1 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