Answer:
player1Wins = player1Losses = player2Wins = player2Losses = tieCount = 0
score1 = 10
score2 = 10
if score1>score2:
player1Wins=player1Wins+1
player2Losses=player2Losses+1
print("player1 wins")
elif score2>score1:
player2Wins=player2Wins+1
player1Losses=player1Losses+1
print("player2 wins")
else:
tieCount=tieCount+1
print("tie")
Explanation:
Since your indentation can not be understand what you give us, please try to do it as you see in the answer part.
Although it seems that this is a part of the code, it is normal that you get errors. However, since you keep track of the variables, it is better to initialize the variables that will keep the counts. Since initially, they are 0, you may set them as 0. Also, if you assign the values to the scores, probably you would not get any error. This way, you may test your code as I did.
Other than these, in the else part you do not need to write "score1=score2", because if score1 is not greater than score2 and if score2 is not greater than score1, this already implies that they are equal
Answer:
Digital technology is easy to understand once you know how to properly use it.
Explanation:
Answer:
"Wind is caused by the heating of the atmosphere which is caused by the sun. Since we have the sun we have wind, since we will never lose the sun, we will never lose the wind which means it is a never-ending source of power." It's also the reason why wind power is a form of solar energy, along with that wind power does not contribute to the heating of the Earth's surface like burning fossil fuels. Very healthy for the environment of the planet.
Hope this helps.