Battleships 7 - Definition?


#1

coin = randint(0, 1)
dice = randint(1, 6)

Finally, we generate a number from one to six inclusive.

^^

I don't get why it includes 6? didn't we say in Range for example, it takes the number from 1-5? not including 6?


#2

This isn't range though

https://docs.python.org/3/library/random.html#random.randint