Random Number Generator

  • Share this:

Code introduction


Generates a random integer between the minimum and maximum values.


Technology Stack : random

Code Type : Function

Code Difficulty : Intermediate


                
                    
import random
import json
import math
import datetime
import os
import re
import subprocess
import sys
import hashlib
import base64
import urllib.request
import ssl

def get_random_number(min_value, max_value):
    return random.randint(min_value, max_value)                
              
Tags: