Created
October 12, 2023 04:41
-
-
Save wayslog/6db0bf9b191228798b72a6c935a7cc09 to your computer and use it in GitHub Desktop.
This file contains 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
import random | |
import time | |
def main(): | |
random.seed(time.time()) | |
names = open("names.txt").read().split("\n") | |
items = ["iPad mini6 64G"] * 5 + ["iPad 9th 256G"] * 15 + ["apple watch 9 45mm al"]*3 | |
random.shuffle(names) | |
for (name, item) in zip(names, items): | |
print(f"{name} {item}") | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment