Created
December 22, 2020 21:37
-
-
Save Rubix982/c95be3be0a5de615e37fdcd7c474be44 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For datasets starting with D | |
import random | |
for j in range(0, 10): | |
n = random.randint(90,100) | |
arr = [] | |
for i in range(0, n): | |
arr.append(random.randint(0, 100)) | |
print(arr) | |
# For datasets starting with F | |
import random | |
for j in range(0, 10): | |
n = random.randint(10, 100) | |
w_v_list = [] | |
for i in range(0, n): | |
w_v_list.append({random.randint(10, 100), random.randint(10, 100)}) | |
print(w_v_list) | |
# For datasets starting with J | |
import random | |
for j in range(0, 10): | |
n = random.randint(90, 200) | |
S = '' | |
for i in range(0, n): | |
S = S + chr(97 + random.randint(0, 25)) | |
print(S) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment