Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 517 Bytes

README.md

File metadata and controls

12 lines (12 loc) · 517 Bytes

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