Skip to content

A program to generate random numbers b/w 0 to 10 using time

Notifications You must be signed in to change notification settings

coderatul/random-num-using-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Bold Red LinkedIn Post Header

random-num-using-time

  • A program to generate random numbers b/w 0 to 10 using time
  • it uses python's in-built module datetime
  • and an equation which returns a value from 0 to 10 for any given integer any num * 8 % 11 = any num b/w o to 10

Method

import Random
Random.randomnum()
  • this Random.py file should be in the current working directory

Releases

No releases published

Packages

No packages published

Languages