Advertisement
bhok

Python - For Loop

Apr 3rd, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. #Method 1 - For Loop
  2. for i in lists_01:
  3.     if i > biggestNumber:
  4.         biggestNumber = i
  5.         iLocation = iIndex
  6.     iIndex += 1
  7.  
  8. print (biggestNumber)
  9. print (iLocation)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement