subject

Suppose a program requires a password that is a combination of numbers and letters but is not key sensitive. However, the user input is received as a string with letters that can have arbitrary cases. What code can be used to validate user input, u_pass, against the actual password, a_pass?

u_pass. upper() == str(a_pass).upper()
u_pass == a_pass
u_pass == str(a_pass)
u_pass is a_pass

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
Which computer tools allow you to communicate with coworkers, family,and friends
Answers: 1
question
Computers and Technology, 24.06.2019 22:00
Aobject is used for displaying the results of a question based on stored data. a. query b. report c. table d. form
Answers: 2
question
Computers and Technology, 25.06.2019 05:10
Maia notices that her paragraphs are too close to one another. she wants to increase this space. which arrangement of steps does maia follow after she goes to the paragraph command group in the ribbon? type in the space needed, go to the after menu, go to the spacing part of the box, and open the paragraph dialog box. go to the spacing part of the box, go to the after menu, open the paragraph dialog box, and type in the space needed. open the paragraph dialog box, go to the spacing part of the box, go to the after menu, and type in the space needed. type in the space needed, open the paragraph dialog box, go to the after menu, and go to the spacing part of the box.
Answers: 1
You know the right answer?
Suppose a program requires a password that is a combination of numbers and letters but is not key se...
Questions
question
Arts, 22.10.2020 07:01
Questions on the website: 13722363