Import Model
Qus. 1 : Which module is to be imported for using randint( ) function ?
- random
- randrange
- randomrange
- rand
- The syntax is: from module name import identifier
- This form of import does not import anything
- The namespace of imported module becomes part of importing module
- The identifiers in module are accessed directly as: identifier
- HTTP
- urllib
- socket
- header
- try
- except
- finally
- All of the above
Programs
python program to generate 3 random integers between 100 and 999 which is divisible by 5
python program to generate 6 digit random secure OTP between 100000 to 999999
python program to generate 6 random numbers and then print their mean median and mode
python program to print the calendar of given month and year
python program to print the calendar of given year