The action that i will recommend an immediate response to prevent further spoofing of the host is to Revoke the host's certificate.
<h3>What does revoke certificate mean?</h3>
Certificate revocation is said to be a kind of an act that connote the way of invalidating a TLS/SSL before it is said to have a scheduled expiration date.
Note that A certificate can be revoked fast when its private key depiects signs of being compromised.
Therefore, The action that i will recommend an immediate response to prevent further spoofing of the host is to Revoke the host's certificate.
Learn more about host's certificate from
brainly.com/question/14282680
#SPJ1
Answer:
Option A is the correct answer for the above question
Explanation:
The object is used to take memory for the class member and functions because the class is the only structure which defines the types of the member for that class. The class object is used to reference a member of the class. The object of the class is known as an instance of the class and the one object variables value is different from the other objects variable value for the same class. So the object is used to holds the instance field because the object is used to initialize the value of the variable of the class. So the attributes associated with the class object can be called the instance field . The above question also asked the same and the answer is Instance field which is stated from the option A. Hence Option A is the correct answer while the other is not because--
- Option B states about instance method which refers to the method of a class for which that object is created.
- Option C states about the fixed attributes which are not the correct answer.
- Option D states about class instances which refer to the object of the class.
Answer:
option A is correct answer of this question
hope it helps
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!"