Programming Videos

  • View all videos
  • blank
  • Loops in Python
    mrdaniel published this on 1/3/16 | python, loops
    Comments
  • +
  • 0
  • -
  • Nice engaging tutorial. The little tricks added in here and there are especially helpful--like stepping backwards with arr[::-1]. But what would be a good strategy for finding these useful functionalities in python without hoping somebody brings them up? Maybe I should learn 3 or so new functions or features directly from python's documentation per day.
  • +
  • 0
  • -
  • In Python 3 you write
    names = ["Jon","Joshua","Jacob","Jimmy","Beth","Sofie","Coco"]
    
    for i in range(0, len(names)):
        print(names[i])
    Log in to submit a comment.