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

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

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

FavoriteLoadingAdd to favorites

To generate random numbers in Python, you use the Random Module. This contains functions for generating random numbers from both continuous and discrete distributions. In this video, we will cover the key random number generators.

➢➢➢➢➢➢➢➢➢➢
To learn Python, you can watch our playlist from the beginning:

➢➢➢➢➢➢➢➢➢➢
We recommend:
Python Cookbook, Third edition from O’Reilly

The Mythical Man Month – Essays on Software Engineering & Project Management

Shop Amazon Used Textbooks – Save up to 90%

➢➢➢➢➢➢➢➢➢➢
Subscribe to Socratica:

To support more videos from Socratica, visit
Socratica Patreon

Socratica Paypal

We also accept Bitcoin! 🙂
Our address is: 1EttYyGwJmpy9bLY2UcmEqMJuBfaZ1HdG9

➢➢➢➢➢➢➢➢➢➢
Python instructor: Ulka Simone Mohanty
Written & Produced by Michael Harrison
FX by Andriy Kostyuk

source

By |2019-11-08T23:50:22+00:00November 8th, 2019|Python Video Tutorials|41 Comments

41 Comments

  1. Socratica November 8, 2019 at 11:50 pm - Reply

    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!! 💜🦉

  2. Balazs Rau November 8, 2019 at 11:50 pm - Reply

    Why not use a tuple with the rock/paper/scissors choice?

  3. rishabh tripathi November 8, 2019 at 11:50 pm - Reply

    great
    experience of learning

  4. Jerry Gundecker November 8, 2019 at 11:50 pm - Reply

    It's worth watching these until the end, if for no other reason but the punch line at the end.
    She delivers the lesson like a machine and then cuts you off at the ankles with a line like, "a fuzzy-wuzzy mess".

  5. Jaden Fang November 8, 2019 at 11:50 pm - Reply

    does this remind anyone of the voice in a laser tag game?

  6. Arvinda Kashan November 8, 2019 at 11:50 pm - Reply

    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.

  7. Dipesh Kumar November 8, 2019 at 11:50 pm - Reply

    i loved every single thing about this channel.

  8. Caoimhin Tew November 8, 2019 at 11:50 pm - Reply

    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)!

  9. Socratica November 8, 2019 at 11:50 pm - Reply

    HEEELLLLLLP! http://bit.ly/PythonKickstarter

    DEADLINE SUNDAY OCT 20th

  10. Olimjon Qahramonov November 8, 2019 at 11:50 pm - Reply

    no comment on that

  11. ali khyar November 8, 2019 at 11:50 pm - Reply

    too much drama

  12. Ramakanth Mylari November 8, 2019 at 11:50 pm - Reply

    Can you add some more topics and programs in python please!

  13. No Name November 8, 2019 at 11:50 pm - Reply

    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?

  14. Socratica November 8, 2019 at 11:50 pm - Reply

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

  15. Donald Amaele November 8, 2019 at 11:50 pm - Reply

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

  16. Amit Agarwal November 8, 2019 at 11:50 pm - Reply

    Very good video

  17. saksham jain November 8, 2019 at 11:50 pm - Reply

    mind blowing !!!

  18. Harendra Singh November 8, 2019 at 11:50 pm - Reply

    समझ में नहीं आया ……कारण पता नहीं ?

  19. CopperyMarrow15 November 8, 2019 at 11:50 pm - Reply

    you liar…

    Traceback (most recent call last):

    File "<pyshell#22>", line 1, in <module>

    random.Socratica()

    AttributeError: 'module' object has no attribute 'Socratica'

  20. Socratica November 8, 2019 at 11:50 pm - Reply

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

  21. Syed Mohsin Shah November 8, 2019 at 11:50 pm - Reply

    You are great.

  22. ope oluwa November 8, 2019 at 11:50 pm - Reply

    nice one

  23. Update my Settings November 8, 2019 at 11:50 pm - Reply

    Someday I hope to marry Socratica and move to Santorini to drink coffee watch the sunset.

  24. chochaos7 November 8, 2019 at 11:50 pm - Reply

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

  25. skilz8098 November 8, 2019 at 11:50 pm - Reply

    Coming from C++ and starting to learn Python; I have to give Python a P++ and I have to give Socratica a S++!

  26. Radwan Nait-abd November 8, 2019 at 11:50 pm - Reply

    Socratica ❤❤

  27. Dd _Ad November 8, 2019 at 11:50 pm - Reply

    thnx very much

  28. El-Andalussi November 8, 2019 at 11:50 pm - Reply

    PSEUDO random numbers …

  29. Leon Müller November 8, 2019 at 11:50 pm - Reply

    No shit i just wanted to know how to instantiate a randomstate in a Perceptron Forward LEarning Process not fucking watch a james bod movie xD. This is why people think that all programers are hackers

  30. gaurav raichandani November 8, 2019 at 11:50 pm - Reply

    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…"

  31. Darvik Patel November 8, 2019 at 11:50 pm - Reply

    She’s from matrix 100%

  32. Tigertyp November 8, 2019 at 11:50 pm - Reply

    I want my discord bot to send Z random numbers between X and Y but with a for loop he prints Z messages with only one number per messagee. Can i do something that he prints the Z amount of numbers in one message?

  33. Akarsh Maurya November 8, 2019 at 11:50 pm - Reply

    Hii,what is difference between randrange and randint

  34. Bhanu Agrawal November 8, 2019 at 11:50 pm - Reply

    I actually type socratica in python

    well the weirdest way to teach but I like it

  35. Roonz AKA HR60 November 8, 2019 at 11:50 pm - Reply

    cool

  36. yahya benz November 8, 2019 at 11:50 pm - Reply

    Run dddd

  37. Mylo Driess November 8, 2019 at 11:50 pm - Reply

    I thought "Socratica" is only her name. Now it appears to be also a python function!
    I don't know how to explain it but she is a kind of scary and lovely at the same time. I can't stop watching this excellent tutorial. I have learned a lot. I think, the whole world will become Python freak soon! And it will be all her fault;)

  38. Ejaz Rahman November 8, 2019 at 11:50 pm - Reply

    i love you lady

  39. MPaulHolmes November 8, 2019 at 11:50 pm - Reply

    Don't name your random program "random.py"!!

  40. vamsi reddy November 8, 2019 at 11:50 pm - Reply

    Socratica you are awesome and please continue the series.

  41. Mr.nowhereman Beatles-queen mania November 8, 2019 at 11:50 pm - Reply

    I still cant get it why it needs to be multiplied by 4, can anyone explain it?

Leave A Comment

*