From 20682b3d11b6947aa437472d60a49df02a655b98 Mon Sep 17 00:00:00 2001 From: Sibiraj20 Date: Wed, 31 Jan 2024 09:32:33 +0530 Subject: [PATCH 1/3] Sibiraj --- currency converter/import random.py | 12 ++++++++++++ random pass generator .py | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 currency converter/import random.py create mode 100644 random pass generator .py diff --git a/currency converter/import random.py b/currency converter/import random.py new file mode 100644 index 00000000000..5b93d1f3879 --- /dev/null +++ b/currency converter/import random.py @@ -0,0 +1,12 @@ +import random +import string + +def generate_password(length=12): + characters = string.ascii_letters + string.digits + string.punctuation + password = ''.join(random.choice(characters) for _ in range(length)) + return password + +if __name__ == "__main__": + password_length = int(input("Enter the desired password length: ")) + generated_password = generate_password(password_length) + print("Your generated password is:", generated_password) diff --git a/random pass generator .py b/random pass generator .py new file mode 100644 index 00000000000..5b93d1f3879 --- /dev/null +++ b/random pass generator .py @@ -0,0 +1,12 @@ +import random +import string + +def generate_password(length=12): + characters = string.ascii_letters + string.digits + string.punctuation + password = ''.join(random.choice(characters) for _ in range(length)) + return password + +if __name__ == "__main__": + password_length = int(input("Enter the desired password length: ")) + generated_password = generate_password(password_length) + print("Your generated password is:", generated_password) From 2292c30bbb9ddeb92625fe445fedc6ef584c6faa Mon Sep 17 00:00:00 2001 From: Sibiraj20 Date: Wed, 31 Jan 2024 09:36:35 +0530 Subject: [PATCH 2/3] Sibiraj --- currency converter/import random.py | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 currency converter/import random.py diff --git a/currency converter/import random.py b/currency converter/import random.py deleted file mode 100644 index 5b93d1f3879..00000000000 --- a/currency converter/import random.py +++ /dev/null @@ -1,12 +0,0 @@ -import random -import string - -def generate_password(length=12): - characters = string.ascii_letters + string.digits + string.punctuation - password = ''.join(random.choice(characters) for _ in range(length)) - return password - -if __name__ == "__main__": - password_length = int(input("Enter the desired password length: ")) - generated_password = generate_password(password_length) - print("Your generated password is:", generated_password) From 9653b643e68d1c613ef7140d2066e8cf47d70eef Mon Sep 17 00:00:00 2001 From: Sibiraj20 Date: Fri, 2 Feb 2024 22:40:38 +0530 Subject: [PATCH 3/3] Sibiraj20 --- magic-8-ball.py | 31 +++++++++ requirements.txt | 113 --------------------------------- requirements_with_versions.txt | 113 --------------------------------- 3 files changed, 31 insertions(+), 226 deletions(-) create mode 100644 magic-8-ball.py delete mode 100644 requirements.txt delete mode 100644 requirements_with_versions.txt diff --git a/magic-8-ball.py b/magic-8-ball.py new file mode 100644 index 00000000000..e363ed9bff2 --- /dev/null +++ b/magic-8-ball.py @@ -0,0 +1,31 @@ +import random +import time + +def magic_8_ball(): + answers = [ + "Yes", + "No", + "Ask again later", + "Cannot predict now", + "Don't count on it", + "Most likely", + "Outlook not so good", + "Reply hazy, try again" + ] + + print("Welcome to the Magic 8-Ball!") + time.sleep(1) + + while True: + question = input("Ask me a yes-or-no question (or type 'exit' to end): ") + if question.lower() == 'exit': + print("Goodbye!") + break + + print("Shaking the Magic 8-Ball...") + time.sleep(2) + answer = random.choice(answers) + print(f"The Magic 8-Ball says: {answer}\n") + +if __name__ == "__main__": + magic_8_ball() diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index ba601b8c8ab..00000000000 --- a/requirements.txt +++ /dev/null @@ -1,113 +0,0 @@ -pafy -aiohttp -fuzzywuzzy -hupper -seaborn -time -simplegui -utils -Tubes -modules -pdf2docx -pong -beautifulsoup4 -dictator -caller -watchdog -PyQt5 -numpy -fileinfo -backend -win10toast -Counter -Flask -selenium -firebase-admin -ujson -requests -quo -PyPDF2 -pyserial -twilio -tabula -nltk -Pillow -SocksiPy-branch -xlrd -fpdf -mysql-connector-repackaged -word2number -tornado -obs -todo -oauth2client -keras -pymongo -playsound -pyttsx3 -auto-mix-prep -lib -pywifi -patterns -openai -background -pydantic -openpyxl -pytesseract -requests-mock -pyglet -urllib3 -thirdai -google-api-python-client -sound -xlwt -pygame -speechtotext -wikipedia -tqdm -Menu -yfinance -tweepy -tkcalendar -pytube -xor-cipher -bird -mechanize -translate -solara -pywhatkit -mutagen -Unidecode -Ball -pynput -gTTS -ccxt -fitz -fastapi -Django -docx -matplotlib -pyshorteners -geocoder -APScheduler -PyQRCode -freegames -pyperclip -newspaper -opencv-python -tensorflow -pandas -pytest -qrcode -googletrans -slab -psutil -mediapipe -rich -httplib2 -protobuf -colorama -plyer -Flask-Ask -emoji -PyAutoGUI diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt deleted file mode 100644 index 4f668cdd30a..00000000000 --- a/requirements_with_versions.txt +++ /dev/null @@ -1,113 +0,0 @@ -pafy==0.5.5 -aiohttp==3.9.1 -fuzzywuzzy==0.18.0 -hupper==1.12 -seaborn==0.13.1 -time==1.0.0 -simplegui==0.1.1 -utils==1.0.2 -Tubes==0.2.1 -modules==1.0.0 -pdf2docx==0.5.7 -pong==1.5 -beautifulsoup4==4.12.3 -dictator==0.3.1 -caller==0.0.2 -watchdog==3.0.0 -PyQt5==5.15.10 -numpy==1.26.2 -fileinfo==0.3.3 -backend==0.2.4.1 -win10toast==0.9 -Counter==1.0.0 -Flask==3.0.0 -selenium==4.16.0 -firebase-admin==6.3.0 -ujson==5.9.0 -requests==2.31.0 -quo==2023.5.1 -PyPDF2==3.0.1 -pyserial==3.5 -twilio==8.12.0 -tabula==1.0.5 -nltk==3.8.1 -Pillow==10.2.0 -SocksiPy-branch==1.01 -xlrd==2.0.1 -fpdf==1.7.2 -mysql-connector-repackaged==0.3.1 -word2number==1.1 -tornado==6.4 -obs==0.0.0 -todo==0.1 -oauth2client==4.1.3 -keras==3.0.4 -pymongo==4.6.1 -playsound==1.3.0 -pyttsx3==2.90 -auto-mix-prep==0.2.0 -lib==4.0.0 -pywifi==1.1.12 -patterns==0.3 -openai==1.9.0 -background==0.2.1 -pydantic==2.5.3 -openpyxl==3.1.2 -pytesseract==0.3.10 -requests-mock==1.11.0 -pyglet==2.0.10 -urllib3==2.1.0 -thirdai==0.7.28 -google-api-python-client==2.115.0 -sound==0.1.0 -xlwt==1.3.0 -pygame==2.5.2 -speechtotext==0.0.3 -wikipedia==1.4.0 -tqdm==4.66.1 -Menu==3.2.2 -yfinance==0.2.35 -tweepy==4.14.0 -tkcalendar==1.6.1 -pytube==15.0.0 -xor-cipher==3.1.0 -bird==0.1.2 -mechanize==0.4.9 -translate==3.6.1 -solara==1.25.0 -pywhatkit==5.4 -mutagen==1.47.0 -Unidecode==1.3.8 -Ball==0.2.9 -pynput==1.7.6 -gTTS==2.5.0 -ccxt==4.2.20 -fitz==0.0.1.dev2 -fastapi==0.109.0 -Django==5.0.1 -docx==0.2.4 -matplotlib==3.8.2 -pyshorteners==1.0.1 -geocoder==1.38.1 -APScheduler==3.10.4 -PyQRCode==1.2.1 -freegames==2.5.3 -pyperclip==1.8.2 -newspaper==0.1.0.7 -opencv-python==4.9.0.80 -tensorflow==2.15.0.post1 -pandas==2.1.4 -pytest==7.4.4 -qrcode==7.4.2 -googletrans==3.0.0 -slab==1.1.5 -psutil==5.9.8 -mediapipe==0.10.9 -rich==13.7.0 -httplib2==0.22.0 -protobuf==4.25.2 -colorama==0.4.6 -plyer==2.1.0 -Flask-Ask==0.9.8 -emoji==2.10.0 -PyAutoGUI==0.9.54