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
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 logged in.
>>>
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
'You are logged in.'
You are the best Sir, please upload everyday video of python topic we need it.
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
Is there any rules using "and" and "or" operators with non-boolean values such as numbers and strings?
Cool Presentations
Homework output - YOU ARE LOGGED IN
'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
Awesome sir
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.
Output : You are logged in
You are logged in
Output :
'your logged in'
You are logged in : output
You are logged in.
output: You are logged in.
Please sir upload note for this 😊
Tq
"You are logged in"
"you are logged in "
YALI!!
HW: you are logged in
you are loggined in. (Answer)
Print
You are logged in
Daa classes
Result: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
you are logged in