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.
I think the answer would be D. Sorry if i'm wrong but i'm pretty sure it is D.
Answer:
transportation and communications systems, water and power lines, and public institutions like schools, post offices, and prisons.
Explanation:
Here you go,
flowrate.m
cbps = input('Enter the flow in m^3/sec: ');
cfps = cbps ./ 0.028;
fprintf('A flow rate of %.3f meters per sec\n', cbps);
fprintf('is equivalent to %.3f feet per sec\n', cfps);