Skip to content

Add files via upload #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions Applied.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#Applied#
import random
print("\nWelcome to number guessing game...\n")
asd=random.randint(0,50)
ass=random.randint(0,100)
#You should'nt be looking in here...#
add=random.randint(0,500)
exe=["easy","medium","hard"]
print("These are the possible difficulties you can choose from:\n",exe,"\n")
aaa=input("Select Difficulty!\nType it in!\n ")
if aaa in exe[0]:
print("Okay!")
while True:
ent=int(input("Enter your guess!\nNumber:"))
if ent<asd:
print("Sorry bud your guess was too small.\nTry again...\n")
elif ent>asd:
print("Try a little lower bro...\n")

else:
print("nice guess bro...\nIt was correct!")
break


if aaa in exe[1]:
print("Okay!")
while True:
ent=int(input("Enter your guess!\nNumber:"))
if ent<ass:
print("Sorry bud your guess was too small.\nTry again...\n")
elif ent>ass:
print("Try a little lower bro...\n")

else:
print("nice guess bro...\nIt was correct!")
break


if aaa in exe[2]:
print("Oh Wow, I also enjoy living life on the harderside.\n(*-*)\n")
while True:
ent=int(input("Enter your guess!\nNumber:"))
if ent<add:
print("Sorry bud your guess was too small.\nTry again...\n")
elif ent>add:
print("Try a little lower bro...\n")

else:
print("nice guess bro...\nIt was correct!")
break


10 changes: 10 additions & 0 deletions Concepts.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#Programme-1#
import random
import time
x=10
while x>0:
apu=random.randint(0,6)
print(apu)
time.sleep(1)
x-=1

26 changes: 26 additions & 0 deletions timer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#Gay and barebones Timer.#
import time
def timre(x,y=1):
while x>=0:
time.sleep(y)
print(x," Seconds left...")
x-=1

#I know its misspelled btw#
def delay(X,y=1):
while x>0:
time.sleep(y)
x-=1

def onesec():
time.sleep(1)
print("done")

def rep(func,x):
def reprep():
for i in range(x):
func()
return reprep
#don't know why but last function doesn't #
#pls help#