Logical Operators in Python
Вставка
- Опубліковано 2 сер 2024
- Python Programming: Logical Operators in Python
Topics discussed:
1. Introduction to Logical Operators in Python.
2. Logical AND (and) Operator.
3. Logical OR (or) Operator.
4. Logical NOT (not) Operator.
Python Programming Playlist: • Python Programming
Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
Contribute: www.nesoacademy.org/donate
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy.org/recommend...
Website ► www.nesoacademy.org/
Forum ► forum.nesoacademy.org/
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#PythonByNeso #PythonProgramming #OperatorsInPython
I am blown away by your style of teaching. SO concise and clear 🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽 I want to learn only from you!!
You're the best teacher I have ever seen you explain even the smallest things so everybody can understand thanks teacher!
Nice sir, we want the complete playlist including OOP and DSA concepts
You are logged in.
>>>
HW = your logged in. Sam is logged in because the user name is "Sam" and the password is "sammy20".
So, if Sam enters both of the 'information' he would be logged in.
You are the best Sir, please upload everyday video of python topic we need it.
What if I didn't found this channel, to my learning.
So great to have you 🎉
Both statements are true so we can get output as you are logged in
Cool Presentations
'You are logged in.'
Please continue these series
Awesome sir
As it is a comparing condition
So if condition will be true and print 1 will run
Tq
output: 'You are logged in.'
Output:
You are logged in.
You are logged in : output
Output :
'your logged in'
Output : You are logged in
Please sir upload note for this 😊
user="lion"
password="244342"
if user=="lion" and password=="244342":
print("you are logged in")
else:
print("invalid credentials")
output: you are logged in
You are logged in.
You are logged in
you are logged in
YALI!!
userName = 'sam'
password = 'sammy20'
if userName == 'sam' and password =='sammy20':
print("you are logged in")
else:
print("invalid username or password")
result: you are logged in.
"You are logged in"
HW: you are logged in
Daa classes
Print
You are logged in
you are loggined in. (Answer)
You are logged in
You are logged in.
you are logged in
You are logged in
You are logged in