flip a coin alternating heads and tails

前端 未结 0 1404
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-22 21:39

hey can u guys help me figuring out my code,I need to count consecutive alternating head and tail ex: 101010 ( 1 = head and 0 = tail ). i want to track the previous cointoss

相关标签:
回答
  • 消灭零回复
提交回复
热议问题