Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- random.seed()
- def Name():
- N = chr(random.randint(65,90))
- for i in range(random.randint(2,3)):
- N += chr(random.randint(97,122))
- N += N[len(N)-1]
- return N
- Rows = []
- print("The data created for your program is:")
- for i in range(random.randint(6,8)):
- Col = [Name()]
- for j in range(random.randint(3,5)):
- Col.append(random.randint(60,100)/10)
- Col.append(Col[len(Col)-1])
- Rows.append(Col)
- print(Col)
- print("Number of Rows is",len(Rows),"\n\n*** Your Output is below ***")
- # **** Put your code below this line. Do not change anything above this line. ****
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement