1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Oxana [17]
2 years ago
8

Write A Code In Python

Computers and Technology
2 answers:
aleksandr82 [10.1K]2 years ago
5 0

Answer:

print('Enter correct username and password combo to continue')

count=0

while count < 3:

   username = input('Enter username: ')

   password = input('Enter password: ')

   if password=='Hytu76E' and username=='bank_admin':

       print('Access granted')

       break

   else:

       print('Access denied. Try again.')

       count += 1

koban [17]2 years ago
3 0

Answer:

Here is my code below: username = 'Polly1220' password = 'Bob' userInput = input("What is your username?\ n") if userInput == username: a=input("Password?\ n") if a == password: print("Welcome!") else: print("That is the wrong password.") else: print("That is the wrong username.")

You might be interested in
The​ ________ is a​ c-shaped structure that curves around the pancreas and stomach
Sever21 [200]
The duodenum is the c-shaped structure that curves around the pancreas and stomach , it is actually the smallest part of the small intestine and joins the stomach to the jejunum <span />
6 0
2 years ago
Why were QR codes created
Crank
QR codes were created to make a way for people to easily scan codes to get to a website. So you could scan (example) a movie poster to go to the website that has advertisements and tickets.
4 0
3 years ago
Read 2 more answers
Which of the following statements about RAID is correct? Group of answer choices All RAID configurations provide fault tolerance
olchik [2.2K]

Answer:

A RAID 1 configuration of 4 disks has higher storage capacity than a RAID 0 configuration

Explanation:

Redundant Array of Independent Disks(RAID) are multiple physical drives arranged in logical units to provide data redundancy and increased performance. They are

RAID 1 configuration duplicates data storage, albeit of lower performance than RAID 0. Also called disk mirroring because it mirrors data on two or more disks, it provides at least two drives that are used interchangeably or together.

4 0
2 years ago
Why is it important to understand the basic ways in which pictures and video are stored in the computer?
nalin [4]

Answer:

This is important to understand the basic ways to store pictures and video in a computer because both of them consume a relatively large storage spaces in a the computer compared with normal text files.

Explanation:

Nowadays, many computers shipped with a SSD drive (Solid State Drive) with only around 256 - 512 Gb. With this capacity, the storage spaces left to store the pictures and video are very limited after installation of the essential software.

One common way to store pictures and video is to save them at an external hard drive. Another option is the cloud storage service such as Google Drive, Google Photo etc. These storage mediums obviate the need to store those media files into the local computer machine.

6 0
2 years ago
How can my computer catch a virus?
Lapatulllka [165]
By going on sites that are not secure or dowloding thigs 
4 0
3 years ago
Other questions:
  • How do u friend people
    7·2 answers
  • The default color scheme is called ____.
    7·1 answer
  • 3. SmartArt can be used to create that highlight relationships between two items.
    15·1 answer
  • You are the network administrator for a school system. Your boss informs you that she is thinking of implementing a BYOD program
    15·2 answers
  • What is a computer OPERATING SYSTEM?
    5·1 answer
  • Intel Centrino Technology is the combinatin of wirelesstechnology with the previous HT technology.
    14·1 answer
  • What did Adam and Eve look like?
    7·2 answers
  • It is important to know the terms of use of any website because why
    12·2 answers
  • Choose the answer that best completes the
    8·2 answers
  • Documental acerca de los principales materiales que se emplean en la fabricación de medios técnicos utilizados en una oficina.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!