Answer:
c. Both a and b
Explanation:
In computing, processing information simply means performing a task. It means transforming data from one form to another.
In the real sense of it, it means, performing arithmetic or logical operations (by ALU) on binary data which could result in transmitting data from input devices to output devices. When a user launches the calculator application on his PC, and he tries to do some arithmetic (which is processed by the ALU) by entering numbers using his keyboard/mouse (input devices), he gets the result on the screen(output device). This scenario is a typical example of processing information.
<em>Hope this helps!</em>
The correct answer is P2P or peer-to-peer servers.
Hope I helped ;)
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:
To store decimal values
Explanation:
Analyzing the given options.
(a)
Decimal values are digits and are to be treated as such. So, storing them as strings mean that they are no longer decimal values.
(b), (c) & (d)
List of colors, words and values that can't be used for calculations are all string values.
Take a for instance.
List of colors: "Red", "Yellow", "Blue",...
Words, "I", "am", "a", "boy"
Values that can't be used for calculations are non numerical data and as such, some of them could be strings.
Hence:
Option (a) answers the question