Công Nghệ

Learn Python Programming – 17 – Boolean Algebra Jiu-Jitsu



for exercises and resources.
Let’s talk about the most important thing in programming… BOOOOOOOLEAN ALGEBRA. Hmm… Is that a True statement OR False? Watch the video AND find out… Or NOT…. Up to you. …

★☆★ FREE Lesson 1: The Most Important Thing For a Successful Programmer★☆★

Enroll for coding exercises, projects, tutorials, and courses…
————————————
Clever Programmer
Website ►
Facebook ►
Twitter ►
Instagram ►
Snapchat ► Rafeh1
iTunes Podcast ►
Google Podcast ►
Support (Patreon) ►
Youtube ►
Github (Code) ►

Nguồn:https://truonggiabinh.com/

Tin tức dịch bệnh corona trưa 7/2 | Bản tin tổng hợp virus corona Việt Nam đại dịch Vũ Hán viêm phổi

Previous article

Cập nhật tin tức corona hôm nay 20/3 gần 11.000 người chết | Diễn biến mới nhất dịch bệnh Covid-19

Next article

You may also like

42 Comments

  1. how many are there

  2. Great teacher. Put more Python 3 videos. I am interested

  3. Where is the link to buy T-shirt, I dont see any!?

  4. Are u indian

  5. the spider man's quote : "With great power comes great Responsibility"

  6. ###################################################### # PROGRAM JK Flip Flops ###################################################### # NAND gate simulation def NAND(a,b): if a == True and b == True: return False else: return True # END NAND. ###################################################### # FALSE, FALSE Input def FF(): print("Assuming an input of FALSE(J) and FALSE(k)") print("") print(" K J ") print(" | | ") print(" | | ") print("+-——————————-+") print(" [ ] | | [ ]") print(" | | | |") print(" False False False False") print(" | | | |") print(" ———- ———-") print(" | | | |") print(" | | | |") print(" / /") print(" —— ——") print(" O O") print(" | |") print(" ",NAND(False,False), " ",NAND(False,False)) print(" | |") print(" | |") print(" | [ ] [ ] |") print(" | | | |") print(" | False False |") print(" | | | |") print(" ———- ———-") print(" | | | |") print(" | | | |") print(" / /") print(" —— ——") print(" O O") print(" | |") print(" ",NAND(True,False), " ",NAND(False,True)) print(" | |") print(" | |") print("+———————————+") print(" | |") print(" !Q Q") print("") Rtn = input("nPress Return to continuen") print("") print(" K J ") print(" | | ") print(" | | ") print("+———————————+") print(" [Q] | | [!Q]") print(" | | | |") print(" True False False True") print(" | | | |") print(" ———- ———-") print(" | | | |") print(" | | | |") print(" / /") print(" —— ——") print(" O O") print(" | |") print(" ",NAND(True,False), " ",NAND(False,True)) print(" | |") print(" | |") print(" | [Q] [!Q] |") print(" | | | |") print(" | True True |") print(" | | | |") print(" ———- ———-") print(" | | | |") print(" | | | |") print(" / /") print(" —— ——") print(" O O") print(" | |") print(" ",NAND(True,True), " ",NAND(True,True)) print(" | |") print(" | |") print("+———————————+") print(" | |") print(" !Q Q") print("") Rtn = input("nPress Return to continuen") print("") print(" K J ") print(" | | ") print(" | | ") print("+———————————+") print(" [Q] | | [!Q]") print(" | | | |") print(" False False False False") print(" | | | |") print(" ———- ———-") print(" | | | |") print(" | | | |") print(" / /") print(" —— ——") print(" O O") print(" | |") print(" ",NAND(False,False), " ",NAND(False,False)) print(" | |") print(" | |") print(" | [Q] [!Q] |") print(" | | | |") print(" | False False |") print(" | | | |") print(" ———- ———-") print(" | | | |") print(" | | | |") print(" / /") print(" —— ——") print(" O O") print(" | |") print(" ",NAND(True,False), " ",NAND(False,True)) print(" | |") print(" | |") print("+———————————+") print(" | |") print(" !Q Q") ###################################################### # FALSE, TRUE Input def FT(): print("Assuming an input of FALSE(J) and TRUE(k)") print("") print(" K J ") print(" | | ") print(" | | ") print("+———————————+") print(" [ ] | | [ ]") print(" | | | |") print(" False True False False") print(" | | | |") print(" ———- ———-") print(" | | | |") print(" | | | |") print(" / /") print(" —— ——") print(" O O") print(" | |") print(" ",NAND(False,True), " ",NAND(False,False)) print(" | |") print(" | |") print(" | [ ] [ ] |") print(" | | | |") print(" | False False |") print(" | | | |") print(" ———- ———-") print(" | | | |") print(" | | | |") print(" / /") print(" —— ——") print(" O O") print(" | |") print(" ",NAND(True, False), " ",NAND(False,True)) print(" | |") print(" | |") print("+———————————+") print(" | |") print(" !Q Q") print("") Rtn = input("nPress Return to continuen") print("") print(" K J ") print(" | | ") print(" | | ") print("+———————————+") print(" [Q] | | [!Q]") print(" | | | |") print(" True True False True") print(" | | | |") print(" ———- ———-") print(" | | | |") print(" | | | |") print(" / /") print(" —— ——") print(" O O") print(" | |") print(" ",NAND(True,True), " ",NAND(False,True)) print(" | |") print(" | |") print(" | [Q] [!Q] |") print(" | | | |") print(" | True True |") print(" | | | |") print(" ———- ———-") print(" | | | |") print(" | | | |") print(" / /") print(" —— ——") print(" O O") print(" | |") print(" ",NAND(False,True), " ",NAND(True,True)) print(" | |") print(" | |") print("+———————————+") print(" | |") print(" !Q Q") print("") Rtn = input("nPress Return to continuen") print("") print(" K J ") print(" | | ") print(" | | ") print("+———————————+") print(" [Q] | | [!Q]") print(" | | | |") print(" False True False True") print(" | | | |") print(" ———- ———-") print(" | | | |") print(" | | | |") print(" / /") print(" —— ——") print(" O O") print(" | |") print(" ",NAND(False,True), " ",NAND(False,True)) print(" | |") print(" | |") print(" | [Q] [!Q] |") print(" | | | |") print(" | False True |") print(" | | | |") print(" ———- ———-") print(" | | | |") print(" | | | |") print(" / /") print(" —— ——-") print(" O O") print(" | |") print(" ",NAND(True,False), " ",NAND(True,True)) print(" | |") print(" | |") print("+———————————+") print(" | |") print(" !Q Q") ###################################################### ################ # MAIN PROGRAM # ################ print("") print(" K J ") print(" | | ") print(" | | ") print("+———————————+") print("| |") print("| |") print("| J-K Flip Flop |") print("| |") print("| |") print("+———————————+") print(" | | ") print(" | | ") print(" !Q Q ") print("") print("") print("") print("Select Inputs to Flip Flop:") print("") print("1. FALSE(j), FALSE(k)") print("2. FALSE(j), TRUE (k)") print("3. TRUE (j), FALSE(k)") print("4. TRUE (j), TRUE (k)") print("") print("") choice = input("Enter choice(1/2/3/4):") if choice == '1': FF() elif choice == '2': FT() elif choice == '3': print("Function yet to be implemented") elif choice == '4': print("Function yet to be implemented") else: print("Invalid input") # ENDIF

  7. can you explain how to read based on Demorgans law?

  8. What is wrong with you? my suggestion before the lesson just sit and make reasoning, prepare yourself to class. It does not look like a profession explanation. You are thinking too much and look like don't have any confidence.

  9. the T-shirt is epic i love the design soo much

  10. Cool T bro!

  11. you damn right they gave up, <script>'not this guy'</script>

  12. oh yeah and great job on the vidgies

  13. nice shirt i want one send link

  14. please anyone send the link for thr execises to practice for python (clever programmer)

  15. T-shirts really Dope

  16. i want to know how to duplicate your last sentence fastlyis there any function?

  17. i realy like the way you teach aldo your short is great

  18. I always forget to like(even though I like them) your videos so I am literally going to go that!!!!!!!!!!
    your videos are sooo awesome and helpful

  19. Coooooool t-shirt…sir

  20. >>> if TOTAL_MARKS>=300:
    print("PASS")
    else:
    print('FAIL')

  21. marks=[90,80,100]
    >>> marks={'HRIDYANSH':[90,80,100]}
    >>> marks['HRIDYANSH']
    [90, 80, 100]
    >>> marks['HRIDYANSH'][1]
    80
    >>> marks['HRIDYANSH'][0]
    90
    >>> marks['HRIDYANSH'][2]
    100
    >>> marks['HRIDYANSH'][2]+marks['HRIDYANSH'][0]+marks['HRIDYANSH'][1]
    270
    >>> TOTAL_MARKS=marks['HRIDYANSH'][2]+marks['HRIDYANSH'][0]+marks['HRIDYANSH'][1]
    >>> TOTAL_MARKS=marks['HRIDYANSH'][2]+marks['HRIDYANSH'][0]+marks['HRIDYANSH'][1]
    >>> TOTAL_MARKS=marks['HRIDYANSH'][2]+marks['HRIDYANSH'][0]+marks['HRIDYANSH'][1]
    >>> if TOTAL_MARKS>=300:
    print("PASS")

  22. I'm studying for my Wyzant Test so I decided to go through this playlist. Half way there!

  23. Hours = __

    Wage = 10
    if Hours <= 40:
    print (Hours*Wage)
    else:
    print ((Hours*10) +(Hours-40)*5)

  24. HELLO, can You explain better this thing with If True ? Or if False? În can't understand them

  25. I will never say never to python

  26. the shirt is awesome

  27. i can't download subtitle indonesia in savefrom.net /please fix it.

  28. i have not given up!

  29. Qazi bro I think the shirt would look better if u used the 'Clever Programmer' lettering from the intro of your AskQazi videos, you know….so that it looks like the letters are formed out of programming language characters.. for color combination grey/orange, black/orange,black/red, black/yellow, midnight blue/white will look dope.

  30. The shirt looks pretty good!

  31. working_hours=int(input('Enter your working hours'))
    payrate=50
    overtime=(working_hours-40)
    rate = overtime*60
    salary = ((payrate*40)+(rate))

    if working_hours>40:
    print('Pay him – ',salary)
    else:
    print('He is not eligible for overtime!')

  32. who ever dislikes the videos of Quazi are followers of that old fellow Quazi introduced in his 1st video !!
    and he bro why dont u conduct a Q & N

  33. How to input hours and get back how much johnny is getting paid for overtime

    johnnys_payrate = float(12.30)
    johnnys_ot_payrate = float(18.60)
    johnnys_hours_worked = float(input("Input total hours worked: "))

    if johnnys_hours_worked > 40:
    print(johnnys_ot_payrate * (johnnys_hours_worked – int(40)))

  34. great video man, got my sub!

  35. you are the best

  36. That T-shirt is cool.

  37. Where is the link,dude?

  38. if False:
    print("Success")
    else:
    print("Failure")

    Result: Failure

    if True:
    print("Success")
    else:
    print("Failure")

    Result: Success

    Hows it Working? What if I want to print Success on False? or Failure on True

  39. Pls reply

  40. Can we else operator also
    if John_worked_hours >42:
    Print('high pay')
    else
    print('less pay')

  41. Where is the link for the t-shirt?

  42. :^)

Leave a reply

Your email address will not be published. Required fields are marked *

More in Công Nghệ