Условие:
Playgrounds
Learn to Code 2
Collect the Total
Challenge: Collect a randomly determined number of gems, represented by totalGems.
For this challenge, you're given a constant, total Gems , which is a randomly generated number from 1 to 12 . Using this constant, write code to collect the number of gems defined in totalGems, stopping after that number is reached.
0
