Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Generate random numbers in Python ๐ŸŽฒ
Play lesson

Python tutorial for beginners ๐Ÿ - Generate random numbers in Python ๐ŸŽฒ

4.0 (0)
8 learners

What you'll learn

This course includes

  • 14.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

#python #tutorial #course Python random module tutorial example explained 00:00:00 random module 00:04:32 number guessing game import random low = 1 high = 20 options = ['Rock', 'Paper', โ€˜Scissorsโ€™] cards = ['2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K', 'A'] #number = random.random() #number = random.randint(1, 6) #number = random.randint(low, high) #choice = random.choice(options) #random.shuffle(cards)

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere