Skip to content

Instantly share code, notes, and snippets.

@royletron
Created March 16, 2013 12:40
Show Gist options
  • Save royletron/5176210 to your computer and use it in GitHub Desktop.
Save royletron/5176210 to your computer and use it in GitHub Desktop.
from array import *
a = ["Orange", "Apple", "Banana", "Grapefruit", "Pear"]
b = ""
for i in a:
if len(i) > len(b):
b = i
print(b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment