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, 22.06.2019 15:00
Atool that matches persoal skills qualities interests and talets to a career is called a
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Does anybody know how to hack into a google account? i had important information on it and it is gone now and i need getting it back.
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
During the software planning process, rick, a project manager, finds that his team has made an incorrect estimation of funds. what kind of risk has rick identified? rick has identified a risk.
Answers: 1
question
Computers and Technology, 24.06.2019 17:00
What are some examples of what can be changed through options available in the font dialog box? check all that apply. font family italicizing bolding pasting drop shadow cutting character spacing special symbols
Answers: 2
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
History, 08.07.2019 11:00
question
English, 08.07.2019 11:00
Questions on the website: 13722360