- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
🔐 Day 26 LEARNING PYTHON: Build a Login System in Python#Python #LearnPython #PythonForBeginners
🔐 Day 26: Build a Login System in Python
In this mini project, you’ll create a simple login system using Python.
The program stores a username and password, asks the user to enter both, and checks whether they match.
If they are correct, Python prints:
✅ Access Granted
Otherwise, it prints:
❌ Wrong Username or Password
This is the basic idea behind real authentication systems used in apps and websites.
---
💻 Python Code
username = "admin"
password = "1234"
user = input("Enter username: ")
pwd = input("Enter password: ")
if user == username and pwd == password:
print("Access Granted")
else:
print("Wrong Username or Password")
---
🧠 What You Learned
Variables
input()
if else
Comparison using ==
The and operator
Mini project building
---
🚀 Challenge
Change the username and password to your own secret values and test both correct and incorrect inputs.
Comment your custom username below! 🔐
---
⏭️ Next Video
Day 27: Functions Recap — The Real Power of Functions ⚡
---
#Python #LearnPython #PythonForBeginners #Coding #Programming #100DaysOfPython #PythonProject #LoginSystem #CodeNewbie #TechShorts
Видео 🔐 Day 26 LEARNING PYTHON: Build a Login System in Python#Python #LearnPython #PythonForBeginners канала Pythondex
In this mini project, you’ll create a simple login system using Python.
The program stores a username and password, asks the user to enter both, and checks whether they match.
If they are correct, Python prints:
✅ Access Granted
Otherwise, it prints:
❌ Wrong Username or Password
This is the basic idea behind real authentication systems used in apps and websites.
---
💻 Python Code
username = "admin"
password = "1234"
user = input("Enter username: ")
pwd = input("Enter password: ")
if user == username and pwd == password:
print("Access Granted")
else:
print("Wrong Username or Password")
---
🧠 What You Learned
Variables
input()
if else
Comparison using ==
The and operator
Mini project building
---
🚀 Challenge
Change the username and password to your own secret values and test both correct and incorrect inputs.
Comment your custom username below! 🔐
---
⏭️ Next Video
Day 27: Functions Recap — The Real Power of Functions ⚡
---
#Python #LearnPython #PythonForBeginners #Coding #Programming #100DaysOfPython #PythonProject #LoginSystem #CodeNewbie #TechShorts
Видео 🔐 Day 26 LEARNING PYTHON: Build a Login System in Python#Python #LearnPython #PythonForBeginners канала Pythondex
Комментарии отсутствуют
Информация о видео
15 мая 2026 г. 21:00:25
00:00:39
Другие видео канала




















