0
I am confused of the operator to use in this python code, I've tired AND, OR, COMMA can someone help with what the answer is??
A piece of code for a videogame checks if the player has completed the level. The level is completed if the player collected more than 30 coins or found at least 1 magic key. Complete the code to check if the player completed the level coins = 36 keys = 2 print(coins > 30 OR keys > 0)
3 ответов
+ 4
Read the previous lesson again. Pay attention to the spelling of the or operator.
+ 1
Always remember that python is a case-sensitive coding language.