Python Random Number Generator: the Random Module || Python Tutorial || Learn Python Programming

Поделиться
HTML-код
  • Опубликовано: 25 янв 2025

Комментарии • 266

  • @Socratica
    @Socratica  2 года назад +1

    Wear a Socratica Python shirt for good luck coding: shop.socratica.com/products/python-by-socratica

  • @ferriolimaximus
    @ferriolimaximus 4 года назад +8

    I'm a programer. I can tell you these very best series of videos EVER. I enjoy them so much. One of the best things in RUclips.

  • @Socratica
    @Socratica  5 лет назад +35

    It's official! The Socratica Python Kickstarter was a success! Thank you to all of our supporters. Because of you, many more Python videos coming soon!! 💜🦉

    • @HITD47
      @HITD47 5 лет назад +1

      desperately waiting for lectures related to data science and AI

  • @MrOmniblast
    @MrOmniblast 7 лет назад +51

    "Now we're rolling." - Hahaha. I'm in love with the character.

  • @jamesdoone3516
    @jamesdoone3516 7 лет назад +23

    "Let the games begin . . ." I am hooked, Socratica.

  • @RyanEmeryLovesCars
    @RyanEmeryLovesCars 3 года назад +4

    This editing looks like something straight out of a syfy movie in the year 2055. Excellent job.

  • @nyashagupta4641
    @nyashagupta4641 4 года назад +8

    This is like watching a sci-fi movie. Loved it 💓

  • @shapedsilver3689
    @shapedsilver3689 6 лет назад +5

    This is amazing. Programming tutorial videos are NEVER this high quality. I saw this and subscribed right then and there.

  • @johancouder8013
    @johancouder8013 8 лет назад +97

    P(Like) = 100%

  • @briannabyrd4283
    @briannabyrd4283 6 лет назад +2

    These videos are extremely helpful, easy to understand (clear voice, no mumbling), and are enjoyable to watch. Thank you, Socratica.

  • @PanetMaster
    @PanetMaster 6 лет назад +15

    Wow, this channel is such a gem

  • @chochaos7
    @chochaos7 5 лет назад +20

    FInally created my first "Rock, Paper, Scissors, Lizard, Spock" game

  • @bckzilla
    @bckzilla 7 лет назад +12

    Fantastic format, fantastic instructor, amazingly well framed.

  • @nnajichidiebere7715
    @nnajichidiebere7715 5 лет назад

    This is the best tutorial i have ever seen. i really dont like commenting in comment sections but i thing i have to tell you that you are doing a very good job.THANK YOU, i really appreciate.

  • @bryanchambers1964
    @bryanchambers1964 6 лет назад

    This is really helpful for my Monte Carlo class. Everyone else in there is a computer whiz except for me, thanks for helping me get caught up with the rest.

  • @fireemblemheroeshardcore4934
    @fireemblemheroeshardcore4934 3 года назад

    everything I was looking for bout random in a single 7min video

  • @DamianRene
    @DamianRene 8 лет назад +42

    I like how it is correctly named "pseudo-random" numbers. is it known which kind of algorithms the program use to generate them?.
    PS: the quality of this channel is inversely proportional to the current visitors. I bet is gonna change soon!

    • @websnarf
      @websnarf 8 лет назад +7

      According to the online documentation, they use the Mersenne Twister, which is not surprising since it is portable and very high quality.

    • @SMC247
      @SMC247 7 лет назад +2

      Being deliberately pedantic: the quality is not inversely proportional as this would imply that the quality is declining with the increase in visitors, whereas the quality appears to have increased to a high level and plateaued at that level with little variation in quality.

  • @yogitasinkar5979
    @yogitasinkar5979 6 лет назад +2

    My brain cells multiplied when you said 'Now we are rolling!' after the dice example.

  • @patientson
    @patientson 5 лет назад +1

    I love the way your mind works, especially when you make your analogy based on the topic you've taught me(us)

  • @luffyorama
    @luffyorama 8 лет назад +12

    Your video is superb! This is a hidden gem!

  • @tartarik275
    @tartarik275 4 года назад

    Your teaching style is really good.

  • @rebeccamey4133
    @rebeccamey4133 Год назад

    Really cool with the robot-like voice and the scifi sounds in the background. Like being taught programming by an android. Also well explained.

  • @udayanagavenkatakranthibha255
    @udayanagavenkatakranthibha255 3 года назад

    No words to say simply awesome her style is unique and the content is unbeatable

  • @gauravraichandani7722
    @gauravraichandani7722 5 лет назад

    I never really comment on videos but I really appreciate the way you are teaching Python and I just want to add that I honestly laughed a lot at "Now we're rolling..."

  • @kylecox5127
    @kylecox5127 8 лет назад +1

    I love the presentation style. It makes programming feel so cool xD

  • @nuhaalghamdi2373
    @nuhaalghamdi2373 6 лет назад +9

    for i in range(3)
    print(random.choice(myopinion))
    great
    awesome
    amaaaaaazing

  • @cody-w8j1g
    @cody-w8j1g Год назад

    Super, this people deserve our respect and appreciation.

    • @Socratica
      @Socratica  Год назад

      Thank you for your kind comment, Socratica friend! We're so glad you're watching!

  • @Socratica
    @Socratica  5 лет назад +14

    Welcome to Socratica! You can see our entire Python Playlist here: bit.ly/PythonSocratica
    Subscribe to see all our new videos! bit.ly/SocraticaSubscribe

  • @ImNewbeh
    @ImNewbeh 2 года назад

    The way you present this,... amazing !

  • @_tissael_4393
    @_tissael_4393 4 года назад

    Its just amazing!
    Im astonished!

  • @christophermartinez1769
    @christophermartinez1769 7 лет назад +26

    OHHHHHHHHHHHHHMY THIS CHANNEL IS SOOOOOOOOOOOO GOOOOOOOOOD

    • @Socratica
      @Socratica  7 лет назад +5

      Awwwww thank you!!!! :D We're so glad you're watching!

  • @chaosopher23
    @chaosopher23 5 лет назад

    At this time, 46 hardcore C++ coders didn't like this video. Sucks to be them! Keep up the awesome work, it's helped me learn how to code better in a few months than I have in all time (QBASIC with line numbers, green screen, C128, 5.25" floppy disk)!

    • @Socratica
      @Socratica  5 лет назад +1

      Our first was the C64 (the PET at school) and BASIC! Brings back memories. 💜🦉

  • @sameeryusuf4555
    @sameeryusuf4555 2 года назад

    I can't imagine how she explains
    Amazing explaination

  • @krissloo143
    @krissloo143 4 года назад +1

    I still think that rock should beat paper tho xD
    managed to make a game finally
    love the style, love the humor, love the simplicity, love how much I learn in such a short time
    Everybody needs to know about this channel

  • @Socratica
    @Socratica  5 лет назад

    We're halfway there. We still need your help! Support Socratica Python Kickstarter: bit.ly/PythonKickstarter

  • @parikalpbhardwaj3245
    @parikalpbhardwaj3245 6 лет назад +1

    Your way of teaching is amazing.😂

  • @walkaboutdetroit1052
    @walkaboutdetroit1052 8 лет назад +1

    The intro is hilarious! Great Video. Really made me think about the whole process.

  • @rahulmudagal1729
    @rahulmudagal1729 4 года назад

    AWSOME REPRESENTATION ,
    I love it

  • @mg2256
    @mg2256 7 лет назад

    When you didn't realize that super hard math class in college actually equated to the way python works. Interesting none of my profs never said anything about it. Kudos

  • @RajanSingh088
    @RajanSingh088 6 лет назад +1

    I want Socratica to be my teacher. Awsommeeeeee video

  • @ZerofeverOfficial
    @ZerofeverOfficial 5 лет назад +11

    6:00 as of March 2019 the Like ratio is 98.8 percent, ya'll scary.

  • @nickiexu9919
    @nickiexu9919 7 лет назад

    so much fun watching and learning! such a pleasure! better than watching a movie!

  • @adriansrfr
    @adriansrfr 3 года назад

    This series is phenomenal!

  • @joshuahabash8572
    @joshuahabash8572 5 лет назад

    Excellent tutorial.
    I really love this channel.
    Much love from 2020

  • @Socratica
    @Socratica  5 лет назад +1

    Support what you love! Socratica has a Kickstarter to make more Python: bit.ly/PythonKickstarter

  • @hardik3576
    @hardik3576 3 года назад

    Hands up to u 😎😎
    Fantstic art
    Im ur new subscriber🙄

  • @harikap4605
    @harikap4605 7 лет назад

    Both the content and the effects are amazingly good.

  • @OpenList
    @OpenList 7 лет назад

    Great job guys deserve million views

  • @ScrolltheNature
    @ScrolltheNature 5 лет назад

    i loved every single thing about this channel.

  • @MagnusAnand
    @MagnusAnand 4 года назад

    For cryptography you can use the standard library module “secrets”
    > import secrets

  • @anurasenarathna1703
    @anurasenarathna1703 3 года назад

    Wow. Very good. The exact video I needed for Random numbers in python. Thank you

  • @potato3996
    @potato3996 6 лет назад

    Thank you so much for this video, my GCSE coursewok has just got soo much easier!

  • @13Uzamakifan
    @13Uzamakifan 8 лет назад +10

    I love this channel! So good! Thank you for all your work!

    • @Socratica
      @Socratica  8 лет назад +2

      We're so glad you've found us! Thanks for your kind message.

  • @jonathonfulbright8002
    @jonathonfulbright8002 7 лет назад +2

    "Now we're rolling" - i love it

  • @omarcruz6326
    @omarcruz6326 5 лет назад

    Nice video ! I like your style 👌

  • @nitintomer5923
    @nitintomer5923 5 лет назад

    Thanks @Socratica
    for sharing great videos. you have explained many things in very short duration. I wish your videos will get more likes and you deserve Millions of subscribers to your channel.

  • @amaterasu48
    @amaterasu48 6 лет назад +1

    You deserve much more views!

  • @daoudatraore930
    @daoudatraore930 6 лет назад

    Very very very good chanel, this just teach me something that is going to help me a lot in programming with python :)

  • @zmaxteh9115
    @zmaxteh9115 3 года назад

    this presentation is so cool !

  • @vamsireddy5051
    @vamsireddy5051 5 лет назад

    Socratica you are awesome and please continue the series.

  • @shonaboy7554
    @shonaboy7554 8 лет назад +4

    Okay ! If all lecturers were like this all students would get As. Thank you !

  • @aarohangoel1483
    @aarohangoel1483 4 года назад

    while using the random.choice function can we count how many times rock, paper or scissor occurs?
    please reply need to apply this concept in a project

  • @shivamkeshri487
    @shivamkeshri487 7 лет назад

    its really good way of education i feel like game.......make more videos on python ..........thanks for help...

  • @mariasusca8669
    @mariasusca8669 Год назад

    Hello,first of all I want to thank you for sharing with us this information! Could you please make a short video about the types of algorithms in python ? Thank you again xD

  • @Vejinx
    @Vejinx 5 лет назад

    This is fantastic guys. Keep up the good work.

  • @nyosgomboc2392
    @nyosgomboc2392 7 лет назад

    According to RUclips, there are around 1k likes (unfortunately, it's rounded) and 34171 views. If the likes were rounded down from 1500 (best case scenario), this means P(like)=4.39%, a bit off your calculations. Good tutorials on the other hand, so keep up the good work!

  • @deepankar58
    @deepankar58 6 лет назад

    What a video! Quality work! Great presentation. Subscribed after watching the first minute. :p

  • @sv3glx
    @sv3glx 6 лет назад

    The collest programming channel ever!

  • @undercoverconman
    @undercoverconman 6 лет назад +3

    Oh my god !!! These videos are amazing. My students would love these

  • @uranastefani7465
    @uranastefani7465 5 лет назад

    your videos are amazing, can not wait for more

  • @tshiamophamotse5079
    @tshiamophamotse5079 7 лет назад

    your videos are the best please keep them coming

  • @mohammadkhan4444
    @mohammadkhan4444 6 лет назад

    great discussion......... thank you Socratica.....

  • @alwalid9547
    @alwalid9547 7 лет назад

    you are always great !! i love all of your tutoirals

  • @mohamadkassabeh4125
    @mohamadkassabeh4125 4 года назад

    Is it possible to generate a random number on a completely open interval?

  • @tonikaiser2823
    @tonikaiser2823 5 лет назад

    Sehr hilfreiches Video vielen Dank dafür aber was sollte ich machen wenn ich einen zufälligen Wert aus einem Dictionary benutzen möchte?

  • @MyTube4Utoo
    @MyTube4Utoo 7 лет назад

    I'm really loving your channel. Keep up the great work!!

  • @arthurananda3610
    @arthurananda3610 7 лет назад +1

    Hi Socratic, your videos are so awesome! it helps me a lot ! can you make some videos about the python generator and the difference between yield and return?

  • @tonikaiser2823
    @tonikaiser2823 5 лет назад

    very nice video very helpfull, but what should i do if i want to use a ramdom key/value out of a dictionary

  • @devilevic
    @devilevic 5 лет назад

    Absolutely love your videos. Great job!

  • @jerrywang3225
    @jerrywang3225 7 лет назад

    Very impressive and helpful video, hope you have more Python tutorials coming up in the future. Thanks a lot.

    • @Socratica
      @Socratica  7 лет назад +2

      Many more Python videos are on the way! In fact, we're filming three more this week. :)

  • @QuintaceBranders
    @QuintaceBranders 7 лет назад

    Dear Socratica I need your help. can you show how to generate handwriting from mathemetical equations using tensorflow?

  • @russellbrown7248
    @russellbrown7248 5 лет назад

    Love all videos very informative

  • @marshmelows
    @marshmelows 4 года назад

    Is this done in Python 3? I'm new with Python

  • @ravitanwar9537
    @ravitanwar9537 6 лет назад

    288k subs on this channel is a shame . should be atleast a mil.

  • @lalalolo3808
    @lalalolo3808 3 года назад +1

    thank you agent , i am now able to attack random targets thanks to you , the UIP thanks you on their behalf

  • @WinnieWen
    @WinnieWen 4 года назад +1

    so helpful!!!

  • @GEScott71
    @GEScott71 6 лет назад

    Awesome, this helped me a lot - very enjoyable too. I'm loving and Soctratica!

  • @arvindaable
    @arvindaable 5 лет назад

    Hello there, I wish that something like a group of six numbers each could input only select range of number. There shouldn't any repeated numbers in any of six number and could generated possible combination. That could list out on work sheet with a number finder as well. They should print out on the lottery bet slip from any printer. I hope that you could help me. Thank you.

  • @omarcruz6326
    @omarcruz6326 4 года назад

    These videos are super coooool !

  • @apexxtherapper1120
    @apexxtherapper1120 4 года назад

    is it possible that you could assist me with a project im building, im kinda stuck and you have the perfect idea of what I'm attempting to implement

  • @00MagicMatt
    @00MagicMatt 4 года назад

    first time seeing her videos, the moment i heard her voice I subscribed because I thought this was so cool! lol

  • @swiftsifu
    @swiftsifu 7 лет назад

    These videos are amazing, please do more.

  • @davidbacarella202
    @davidbacarella202 4 года назад

    Hello, luv the videos! I found that if I use randomint(1, 6), the 6 never gets chosen. I used randomint(1, 7) to resolve.

  • @deusvult4678
    @deusvult4678 7 лет назад

    i like her very much and i think i understand python logic more because of liking her

  • @CarlosOrtiz-ht6rn
    @CarlosOrtiz-ht6rn 6 лет назад

    Production value over 9000!

  • @hamids4550
    @hamids4550 8 лет назад +6

    more python please :)
    Thank youuu

  • @rishabhtripathi1191
    @rishabhtripathi1191 5 лет назад

    great
    experience of learning

  • @chainofblocks7872
    @chainofblocks7872 5 лет назад

    Hii,what is difference between randrange and randint

  • @NoName-nr2iw
    @NoName-nr2iw 5 лет назад

    If i were to generate a random number without importing random module, how will I do it?
    Also how can I see the lines of code inside a module?

  • @scylla1431
    @scylla1431 6 лет назад

    which software is she using for editing her videos?