+ 1
Can i ?
can I put two conditions in the same if statement? At example: if player == 'камень', bot == 'ножница': print ("You won")
2 Answers
+ 4
You can use 'or' respectively 'and' this depends on your program logic. So e.g.:
if player == 'камень' and bot == 'ножница':
And again, i want to encourage you to elaborate through the python tutorial, to get familiar with the basics.
+ 1
You can use these operators to mix the conditions.
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2279/