Coins explanation
I don't understand coins.
coins = [0]*n # empty coins (all are initialized by zeros) ?
1. How are coins populated by 1 (which line) ?
I get random results, but there's no random function.
2. 'i' variable means 'head' and 'j' variable means tails ??
What are variables 'i'and 'j' mean ?
coins = [0]*n # empty coins (all are initialized by zeros) ?
1. How are coins populated by 1 (which line) ?
I get random results, but there's no random function.
2. 'i' variable means 'head' and 'j' variable means tails ??
What are variables 'i'and 'j' mean ?
1 answers ( 0 marked as helpful)
Hey Lenka,
Thank you for reaching out!
Could you please let me know the relevant lecture or exercise to your question?
Thank you!
Kind regards,
365 Hristina
Thank you for reaching out!
Could you please let me know the relevant lecture or exercise to your question?
Thank you!
Kind regards,
365 Hristina