Phone number generator python
2021.11.18 09:35
A simple python script to generate random phone numbers - bltadwin.ru how can i make the program to start printing with specific number starting with 6*. Creating a Random Mobile Number Generator in Python · Step 1: Importing Modules and Creating a Tkinter Window · Step 2: Adding Widgets on the Window Created. We will use the random library to generate random numbers. · The number should contain 10 digits. · The first digit should start with 9 or 8 or 7. import tkinter as tk window = bltadwin.ru() bltadwin.rury("x") bltadwin.ru(bg="#F39C12") bltadwin.ruble(width=False,height=False) bltadwin.ru('Random Mobile Number Generator') l1 = bltadwin.ru(text="Random Mobile Number Generator",font=("Arial",20),bg="Black",fg="White") b1 = bltadwin.ru(text="Click on me to generate a mobile number",font=("Arial",15),bg="#A3E4D7") l2 = . As we know, Indian phone numbers are of 10 numbers and start with 9,8,7,6. Here we are going to use a python library called random. First import a random library to generate random numbers. The number should contain 10 digits. The first number should start with 9,7,8 or . · Star 6. Fork 4. Star. A simple python script to generate random phone numbers. Raw.