Skip to content

Instantly share code, notes, and snippets.

View spaco67's full-sized avatar

Timothy Dake spaco67

  • Plateau State House of Assembly Service Commission
  • No. 2 Dandaura Road, Jos, Nigeria.
View GitHub Profile
@noxan
noxan / namegenerator.py
Last active December 27, 2023 06:57
A simple python script to generate random names.
#!/usr/bin/python3
import random
import string
import sys
VOWELS = "aeiou"
CONSONANTS = "".join(set(string.ascii_lowercase) - set(VOWELS))
@amirsinaa
amirsinaa / rpng.py
Last active January 20, 2021 19:34
A simple python script to generate random phone numbers
from random import randint
def random_with_N_digits(n):
range_start = 10**(n-1)
range_end = (10**n)-1
return randint(range_start, range_end)
for mciNumbers in range(0,100):
print('0912', random_with_N_digits(7))