Online Course Discussion Forum

hmwk 2 question 3

 
 
LensmireJohn的头像
Re: hmwk 2 question 3
LensmireJohn - 2020年11月25日 Wednesday 09:57
 

It this for Algorithms? Or for a physics question? I'm not quite sure how it would relate to physics, but in Python, lists start their indices at 0. For example if mylist = [ 'a', 'b', 'c'], then mylist[0] = 'a' for the 'first' element in the list.