import random
computer_choice = random.choice(["rock", "paper", "scissors"])
user_choice = input("rock, paper, or scissors? ")
if computer_choice == user_choice:
print("It's a draw!")
elif user_choice == "rock" and computer_choice == "scissors":
print("You win!")
elif user_choice == "paper" and computer_choice == "rock":
print("You win!")
elif user_choice == "scissors" and computer_choice == "paper":
print("You win!")
else:
print("The computer wins!")
I wrote my code in python 3.8. I hope this helps.
Answer:
The moment work is produced, written, or developed.
Explanation:
Your work is under copyright protection the moment it is created and fixed in a tangible form that it is perceptible either directly or with the aid of a machine or device.
Answer:
A) The algorithm will work if they are divided into groups of 7
B ) If the groups of 3 are used they do not run in Linear time
Explanation:
ATTACHED TO THIS IS THE DETAILED PROVE OF why the algorithm will work if they are divided into groups of 7 and also the prove that if groups of 3 are used they do not run in Linear time
so there are about 240 quarters in a foot
a football field is 360 feet long if you times these together you would get 86,400