msheehan7152 msheehan7152
  • 18-12-2020
  • Computers and Technology
contestada

write the code that writes access granted if the correct password, swordfish is entered and access denied! otherwise

Respuesta :

Cytokine
Cytokine Cytokine
  • 18-12-2020

In python 3.8:

if input("Enter password: ") == "swordfish":

   print("access granted")

else:

   print("access denied!")

Answer Link

Otras preguntas

What is the range of the function f(x) = −(x + 3)2 + 7? all real numbers less than or equal to 7 all real numbers greater than or equal to 7 all real numbers le
What impact did the 7 wars have on European imperial politics?
If an organism has two identical alleles for a trait, (example TT or tt), it is said to be​
You are valuing a company that is projected to generate a free cash flow of $16 million next year, growing at a stable 2.8% rate in perpetuity thereafter. The c
NaBr + Ca(OH)2 → CaBr2 + NaOH Type of reaction:
What is the equation? Pls show your work.
What kind of rock property is displayed by this symbol on a geologic map? A symbol made from a horizontal line with a half arrow above the line and pointin
Which set of three numbers could represent the lengths of the sides of a right triangle? 9, 11, 14 15, 18, 21 8, 9, 10 7, 24, 25
Which of these functions is carried out exclusively by the federal government? A. commands the military B. urban planning C. tax collection D. establish
what is the theme of the poem?​