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.
user="lion" password="244342" if user=="lion" and password=="244342": print("you are logged in") else: print("invalid credentials") output: you are logged in
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're the best teacher I have ever seen you explain even the smallest things so everybody can understand thanks teacher!
I am blown away by your style of teaching. SO concise and clear 🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽 I want to learn only from you!!
Nice sir, we want the complete playlist including OOP and DSA concepts
What if I didn't found this channel, to my learning.
So great to have you 🎉
You are logged in.
>>>
I love this!! Someone referred me here when I said I wanted to do coding...
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.
Both statements are true so we can get output as you are logged in
You are the best Sir, please upload everyday video of python topic we need it.
'You are logged in.'
user="lion"
password="244342"
if user=="lion" and password=="244342":
print("you are logged in")
else:
print("invalid credentials")
output: you are logged in
Please continue these series
Homework output - YOU ARE LOGGED IN
Cool Presentations
Is there any rules using "and" and "or" operators with non-boolean values such as numbers and strings?
Output:
You are logged in.
output: 'You are logged in.'
Output : You are logged in
As it is a comparing condition
So if condition will be true and print 1 will run
'You are logged in'
nice explaintion
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.
output: You are logged in.
Awesome sir
You are logged in : output
Output :
'your logged in'
You are logged in.
Please sir upload note for this 😊
You are logged in
"you are logged in "
"You are logged in"
"wtf did i just learnt" ahh concepts 😭
HW: you are logged in
you are loggined in. (Answer)
Print
You are logged in
YALI!!
Tq
Daa classes
Result:you are logged in
Output: You are logged in
'your are logged in'
"You are logged in"
You are logged in.
You are logged in
you are logged in
you are logged in
You are logged in
You are logged in
You are logged in