Programming Videos

  • View all videos
  • blank
  • Functions in Python
    mrdaniel published this on 1/3/16 | python, functions
    Comments
  • +
  • 4
  • -
  • Thanks for the videos. Shouldn't the functions 'double' and 'doubling' be 'square' and 'squaring'?
  • +
  • 4
  • -
  • @TryHarder0, Yeah that name might have suited the functions better, hope it's not confusing for anyone!
  • +
  • 3
  • -
  • I think you should redo this video to show the beginner more Pythonic way of coding this as :
      def squareList(lst):
           return [i**2 for i in list]
    
  • +
  • 0
  • -
  • Does this really help you for the second challenge?
    Log in to submit a comment.