I don’t know I need points :))))
import random
rock,paper,scissors = 1,2,3
choice = int(input("Please choose 1 2 or 3: "))
computer = random.randint(1,3)
player_won = False
draw = False
if choice == computer:
draw = True
elif choice == 1 and computer == 3:
player_won = True
elif choice == 2 and computer == 1:
player_won = True
elif choice == 3 and computer == 2:
player_won = True
if player_won:
print("You won!")
elif not player_won and not draw:
print("The computer won!")
else:
print("It's a draw!")
First, I recommend importing at the beginning of your program. Also, you can combine all your same datatype variables in one line. You also need to cast your user choice to an integer so you can compare it with the computer's choice. I wrote the if, elif, and else statements using a boolean variable. I simply wrote all the possibilities that would result in the player winning and this would result in the player_won variable being true. If this is the case, we print to the console, "You won!"
Answer:
UGC- User Generated Content
Explanation:
<em>It is a combination of making and user generated content a virtual shoe-tie for Go Pro. Go Pro has established a content marketing plataform able to grew into an extreme ecommerce success history. Instead of renting media company's audience, they use the brand-building services of millions of costumers.</em>
<em>The marketing team provide the tools and plataform to enable their costumers to share the videos and images they capture.</em>
Answer:
This type of malware are called Polymorphic Malware.