Using Boolean in Python (Python Tutorial #11)

///Using Boolean in Python (Python Tutorial #11)

Using Boolean in Python (Python Tutorial #11)

Using Boolean in Python – let’s go!

This entire series in a playlist:

Also, keep in touch on Facebook:

source

By |2019-09-12T22:46:58+00:00September 12th, 2019|Python Video Tutorials|32 Comments

1. Runic Sigil September 12, 2019 at 10:47 pm - Reply

def c_greater_than_d_plus_c(c, d, e):
return c > d + e

edit: got it!

2. Komikazii September 12, 2019 at 10:47 pm - Reply

amazing slow and simple perfect thank you so much

3. tsering dorjee September 12, 2019 at 10:47 pm - Reply

So incase of integers…we don't need to insert true or false inside the brackets??? It juz automatically shows true or false if condition is met?

4. Marcel Del Castillo September 12, 2019 at 10:47 pm - Reply

#fuction 3 regards from bolivia

if if_rainy and not has_umbrella:

return True

else:

False

print("ohhhhh sorry tomorrow will be your best day")

else:

print("it not the best day but smile")

5. shivakumar polishetty September 12, 2019 at 10:47 pm - Reply

a=3

b=4

if True:

print("a is the number greater than b")
####even a<b the output is "a is the number greater than than b"…….
how???

6. Garima Ahuja September 12, 2019 at 10:47 pm - Reply

What about float I mean real numbers🤐🤐

7. Quif September 12, 2019 at 10:47 pm - Reply

def if_c_is_greater_than_d_plus_e(c, d, e):

return c > (d + e)

print(if_c_is_greater_than_d_plus_e(70, 80, -10))

8. José Santana September 12, 2019 at 10:47 pm - Reply

Try_again = True

def is_CS_Dojo_awesome(makes_videos, is_mean, helped_me):

if makes_videos == True and is_mean == False and helped_me == True:
return True
else:
return Try_again

9. Ferin Patel September 12, 2019 at 10:47 pm - Reply

Which software do you use to explain the concepts. The software with black background not jupiter notebook

10. Your Tech Network September 12, 2019 at 10:47 pm - Reply

I appreciate your videos and I try my best to watch them all the time
I have a question when can I start coding
When can I try to write script or so on and I'm by the Boolean lesson 11 now

11. Priyanshu Patwari September 12, 2019 at 10:47 pm - Reply

Thanks a lot

12. Abhishek shah September 12, 2019 at 10:47 pm - Reply

1.1k likes to 11 dislikes. LOL

13. Liyuan Boo September 12, 2019 at 10:47 pm - Reply

YK, YOU are the best!

14. Dominic carter September 12, 2019 at 10:47 pm - Reply

please explain AI Programming in python

15. raman jeture September 12, 2019 at 10:47 pm - Reply

Plz regression topic can u clear.

16. KAAVAY GUPTA September 12, 2019 at 10:47 pm - Reply

please tell me when return is used and print is used!! I'm a bit confused between them

17. pavan chandra September 12, 2019 at 10:47 pm - Reply

CS Dojo: Can return be used to return a number other than True or False. Let's say return C, else D ?

18. theSUBVERSIVE September 12, 2019 at 10:47 pm - Reply

Why Microsoft and not Orange? or Lemon or Berry? hahahahahaha…

19. Tech 4 Life Pro September 12, 2019 at 10:47 pm - Reply

Please tell difference between return and yield

20. Heiji Hattori September 12, 2019 at 10:47 pm - Reply

Hey, if you could cover arrays in python it would be awesome !!!

21. Yujing Grace September 12, 2019 at 10:47 pm - Reply

Good job, YK!

22. Inke September 12, 2019 at 10:47 pm - Reply

Make a video about github. I really don't know how to use that platform.

When you have if True youll always get the string printed? I dont understand why if a > b is the saame as if True , I mean its the same because if a is greater than b you will print that and if True always print whatever you expect to be printed right?

24. Muhammed Faris September 12, 2019 at 10:47 pm - Reply

Thanks for these videos.

25. Nicolas Clarisse September 12, 2019 at 10:47 pm - Reply

def c_greater_than_d_plus_e(c, d, e):

if c > (d + e):

return True

else:

return False

print(c_greater_than_d_plus_e(5,1,3))

print(c_greater_than_d_plus_e(2,1,3))

True

False

26. inti pires September 12, 2019 at 10:47 pm - Reply

That doesn't work in python.. Doesn't it?

27. Pramuditha Munasinghe September 12, 2019 at 10:47 pm - Reply

Thank you sir… 🙂

28. Hanif Rahmani September 12, 2019 at 10:47 pm - Reply

def c_greater_than_d_plus_e(c, d, e):
return c > d + e
CMIIW

29. GeezR September 12, 2019 at 10:47 pm - Reply

list of the order of computation as c > d+e without parenthesis bothered me a little:
https://www.programiz.com/python-programming/precedence-associativity

30. FRIENDS Forever September 12, 2019 at 10:47 pm - Reply

hello! kindly explain how to use loops in Python. i want to repeat my code unless i give it command to stop.
simply i want a replacement for do-while loop in c++.

31. Solar September 12, 2019 at 10:47 pm - Reply

if you are not using Jupyter Notebook and just a regular ide make sure you use print to return true or false!!!

32. Rashed Mahmud Olive September 12, 2019 at 10:47 pm - Reply

I have a question. In line 6 you didnt mentioned a,b then how you got the output?plz help