State Capital Flash Cards - Part 5 - Python Tkinter GUI Tutorial #56

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024
  • In this video we'll start working on the randomization of our State Capital Flashcard answers.
    We need to generate three potential "right answers" for each state capital flash card. In this video I'll walk you through randomizing some things. I'll show you how to delete items from a Python list, append items to a Python list, and do some Random Shuffling of a Python list.

ความคิดเห็น • 32

  • @Codemycom
    @Codemycom  4 ปีที่แล้ว

    ▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My TH-cam Channel:
    bit.ly/2UFLKgj bit.ly/2IGzvOR
    ▶️ See More At: ✅ Join My Facebook Group:
    Codemy.com bit.ly/2GFmOBz
    ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
    Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN

  • @dargi_amorim
    @dargi_amorim 4 ปีที่แล้ว +3

    Thank you very much for this series, it helped me a lot )))))))
    I would like very much if you did some more videos using classes. I was watching a series of tkinter tutorials from another guy, and I had to re-learn lots of things that you taught because they are done slightly differently when we work with classes.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      I do plan on doing more class stuff

  • @kapibara2440
    @kapibara2440 5 หลายเดือนก่อน

    Beautiful work!

    • @Codemycom
      @Codemycom  5 หลายเดือนก่อน

      Thanks!

  • @claudiosilva7697
    @claudiosilva7697 4 ปีที่แล้ว +1

    Thanks for another good video.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      Thanks for watching!

  • @dmskarunaratne80
    @dmskarunaratne80 4 หลายเดือนก่อน

    when you remove items from the our_states, it will not added to the list again? why dont you use," if our_states[rando] not in answer_list: " like function (to preserve the state list intact)

  • @vackvakoko9464
    @vackvakoko9464 3 ปีที่แล้ว

    Great video Sir. Could you please make it a multiple choice quiz with questions, options and State images. Thanks,

  • @musakayasimp6456
    @musakayasimp6456 4 ปีที่แล้ว

    hello sir i am facing a problem when i try to just print the capitals of the states i get this messege
    in
    from random import randint
    ImportError: cannot import name 'randint' from partially initialized module 'random' (most likely due to a circular import) (C:\Users\------\Desktop\Stuff\My Stuff\Coding\Programs
    andom.py)
    [Finished in 0.3s] i dont understand should i download something?? even though the first flash card app was working good what is happening then??

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      did you name a variable randint? or random? You can't do that

    • @musakayasimp6456
      @musakayasimp6456 4 ปีที่แล้ว

      @@Codemycom oooh ok ok i just fixed it thx so much you are a great teacher

  • @pheart6
    @pheart6 4 ปีที่แล้ว

    Would like to create a new playlist, teaching about PyQt5 and also to create a calculator just like in android mobiles?

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      Eventually I'll try to do that

    • @pheart6
      @pheart6 4 ปีที่แล้ว

      @@Codemycom Thanks

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      @@pheart6 Sure thing

  • @noice1031
    @noice1031 4 ปีที่แล้ว

    Hey, are you going to do more stuff with classes

  • @redcenter3186
    @redcenter3186 4 ปีที่แล้ว

    Do you gonna try selenium?

  • @Diegos79
    @Diegos79 11 หลายเดือนก่อน

    ♥♥♥

    • @Codemycom
      @Codemycom  11 หลายเดือนก่อน

      🙂

  • @MONUSHARMA-wz1wo
    @MONUSHARMA-wz1wo 4 ปีที่แล้ว

    sir can u tell me how i build advance gui in python like iron man

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      Sorry, I don't know what you mean by advanced gui...these videos are teaching you how to create a gui with python.

    • @MONUSHARMA-wz1wo
      @MONUSHARMA-wz1wo 4 ปีที่แล้ว

      my mean like this previews.customer.envatousercontent.com/h264-video-previews/992c5918-0832-4b75-8d99-abe43c892fa0/18777118.mp4

  • @Ty1er
    @Ty1er 4 ปีที่แล้ว

    ❤️

  • @cameronmclaughlin8024
    @cameronmclaughlin8024 ปีที่แล้ว

    I'm having a hard time wrapping my head around the random function because it seems like every time it's called it's not random, if it was random it shouldn't return the same result and you should have to assign it to a variable and access the variable in order to get a consistent reading. But instead we're able to call random_state 50 times in a function and get the same result 🤯 Am I the crazy one here?
    edit:
    I get that it works by excuting random once and returning the same result for the remainder of the function but it's just messing with my head lol
    edit 2:
    Don't drink whiskey and try to learn new things kids, I forgot that we were assigning the random number to rando and for some reason thought rando was the call to a random number and not the variable assigned a random number... suddenly the world makes sense again

    • @cameronmclaughlin8024
      @cameronmclaughlin8024 ปีที่แล้ว

      Not deleting this in case someone needs a laugh

    • @Codemycom
      @Codemycom  ปีที่แล้ว

      Yeah, I'm not sure what you're talking about. Every time you call the random function, it's random.