Python program on user name and password

Srivatsan
3 min readOct 8, 2020

--

So,Today I came up with a new python program based on security.Before moving to program let me clarify what is mean by security?

WHAT IS MEAN BY SECURITY?

The term security means protecting something, it may be gold,cash,document…etc,.Today in this modern world most of us depends on mobile, computer, ATM or any other machines which makes our work easier.In such machines there maybe be an important data, document or expensive item stored in it.To protect these things we need security.So,now we are going to discuss about program related to security known as user name and password.

WHAT IS USERNAME AND PASSWORD ?WHY IT IS USED?

User name is a term to which password is accessed .if you have applied password for any document or apps,Without completing security process we can not assess the document or apps.So both user name and password plays an vital role in this modern world.By using programing languages we can apply security for any devises so that our personal information or asserts will be protected.

BASIC USERNAME AND PASSWORD PROGRAM:

This is my basic and origin of username and password program.This program can be further develeped ,But you all must know the basic of the program.if we know the basic,We can able to develop according to our convenient.

Now let as discuss the program.

PROGRAM:

In the above program,It get username as input from user and ask password as input for given user name.If the given username and password are correct it prints welcome,if the username or password is incorrect it again ask the username and password for three times untill both username and password becomes true,if the chances exceeds three times then it leaves the loop and print all the chances over.This program is widely used in advanced bank locker ,laptop,online education app etc..

HOPE YOU WOULD UNDERSTAND!!!

HAPPY CODING!!!

--

--

Srivatsan
Srivatsan

No responses yet