Logical Operators in Python

preview_player
Показать описание
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.

Music:
Axol x Alex Skrindo - You [NCS Release]

#PythonByNeso #PythonProgramming #OperatorsInPython
Рекомендации по теме
Комментарии
Автор

You're the best teacher I have ever seen you explain even the smallest things so everybody can understand thanks teacher!

arisjacko
Автор

I am blown away by your style of teaching. SO concise and clear 🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽 I want to learn only from you!!

Geneattenborough
Автор

Nice sir, we want the complete playlist including OOP and DSA concepts

alamdarali
Автор

Both statements are true so we can get output as you are logged in

muddisettyharish
Автор

What if I didn't found this channel, to my learning.
So great to have you 🎉

amaous
Автор

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.

StrNoelleYT
Автор

You are the best Sir, please upload everyday video of python topic we need it.

nehap-
Автор

user="lion"
password="244342"
if user=="lion" and password=="244342":
print("you are logged in")
else:
print("invalid credentials")

output: you are logged in

MohammedAliBelay
Автор

As it is a comparing condition
So if condition will be true and print 1 will run

bazzelrahman
Автор

Is there any rules using "and" and "or" operators with non-boolean values such as numbers and strings?

burgundyhome
Автор

output: 'You are logged in.'

klevver
Автор

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.

ahmadfarhadzammani