Python Forum
Question code from datacamp I don't understand
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question code from datacamp I don't understand
#3
What is tails[x] doing I guess?

I thought that it is coming from range tails[1], tails[2]

Is that to move us through to tails[10]?

And the idea is since zero is heads it never gets added but since tails is 1 we increase by 1 each time?
Reply


Messages In This Thread
RE: Question code from datacamp I don't understand - by fad3r - Feb-04-2018, 07:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  KNN algorithm Assignment can't understand the question spoooder 6 4,186 May-25-2020, 11:19 AM
Last Post: jefsummers
  Intro to Python for Data Science with Datacamp Sabrusura 4 4,644 Aug-21-2018, 09:03 AM
Last Post: Sabrusura

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020