Skip to content
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
31 changes: 31 additions & 0 deletions 311.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
'''
a=8675309
print(int(float(3.14159)))
print(str(a),type(a))
print(bool(1))
print(bool(0))
print(float(10))
'''
q1 = input("Whats ur fav numbr")
print("Ok, i dont liek that number but u respondedd with... " + q1)

if q1 == "Bruh":
print("I dont accept Bruh as a answer Nerd. ")
else:
q2 = input("Do a dance move ")
print("jk just kidding bro.... you respondedd with " + q2)

# name = input("Whats your name?")
# print("Hello, " + name)

# number = input("Whats your favortie number")
# print(int(number))

# if int(number) > 4:
# print("Wow thats a big Number bro")
# elif int(number) == 4:
# print("Wow i love that number too")
# else:
# print("Whow, that number Sucks.")


1 change: 1 addition & 0 deletions Testing.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("I am coding in python!!!!") # yoe mama lmfao
30 changes: 30 additions & 0 deletions conditionals.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
def good_walking_conditions(temp,cloud):
if temp == "Hot" and cloud == "Clear":
print("not going outside")
elif temp == "Temperate" and cloud == "Cloudy":
print("not going outside")
elif temp == "Cold" and cloud == "Cloudy":
print("not going outside")
elif temp == "Cold" and cloud == "Partially Cloudy":
print("nuh uh, we aint goin outside")
else:
print("WE GOIN OUTSIDE GUYS!!!!!!!!!!!!!")

temp = input("hejj input a temperature in farenheight pleas ")

if temp.isnumeric() == False:
print("Bro you gotta type in NUMBERS ONLY!!!!")
quit()

if int(temp) < 40:
temp = "Cold"
elif int(temp) in range(40,80):
temp = "Temperate"
elif int(temp) > 80:
temp = "Hot"

print("You've Chosen..." + temp)

cloud = input("Ok now input a cloudness. choose ONLY from Clear, Cloudy, and Partially Cloudy. (this is a CaSE SeNsItIvE question)")

good_walking_conditions(temp,cloud)
42 changes: 42 additions & 0 deletions functions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import random

name = input("What is your name ")
if name.isalpha() == False:
print("Boyooo u gotta enter text")
quit()

def helloworld():
print("HelloWorld")

def helloname(name):
print("Hello " + name)

helloworld()
helloname(name)

low = input("Giev me 1 number")
high = input("Give me second numbr")

if low.isalpha() or high.isalpha() == True:
print("Bozo stop entering text for stuff thats supposed to be number values thanks.")
quit()
elif low > high:
print("your first number has to be smaller than the second.")
quit()

def printrandnum(low,high):
print(random.randint(int(low),int(high)))
printrandnum(low,high)

radius = input("Give me a radius")
if radius.isalpha() == True:
print("Please input integer inputs.")
quit()
elif int(radius) < 0:
print("Bro negative numbers aint allowed")
quit()

def printcircumference(radius):
print("the circuference of your circle is... ")
print((int(radius) * 2 * 3.14))
printcircumference(radius)
14 changes: 14 additions & 0 deletions larry.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name = input("Whats ur name brotha ")
if name == "Larry":
print("I dont like people named larry.")
else:
print("Hi " + name)

bruh = input("give me a number that i can multiply by 7")
print(int(bruh) * 7)

ice = input("Whats a polar bears most appreciated song?")
if ice == "ice ice baby":
print("Correct, Nerd.")
else:
print("The riddle What's a polar bear's most appreciated song? has a clever and humorous answer: Ice Ice Baby. This play on words combines the chilly environment of the polar bear's habitat with the famous rap song Ice Ice Baby by Vanilla Ice. While the answer may seem lighthearted and amusing, it also reflects the creative and pun-driven nature of riddles. Polar bears are iconic symbols of the Arctic, where they navigate vast expanses of ice in search of food. The connection between the bear and ice is immediate, making the answer to the riddle both witty and fitting. The choice of the song adds an extra layer of humor, as Ice Ice Baby became a pop culture sensation in the early 1990s. Humor often relies on wordplay and unexpected connections, and this riddle is a prime example. It encourages the audience to think beyond the literal interpretation and appreciate the clever pairing of the polar bear's habitat with a well-known song title. Riddles like these showcase the human ability to find amusement in the unexpected and draw connections between seemingly unrelated concepts. In conclusion, the riddle What's a polar bear's most appreciated song? Ice Ice Baby is a delightful example of wordplay and humor. It cleverly combines the cold environment of the polar bear with a popular song title, inviting laughter and appreciation for the unexpected connections that make riddles both enjoyable and intellectually stimulating.")
35 changes: 35 additions & 0 deletions randonint.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import random

a = input("Hejj Blud give me a number. ")
if a.isnumeric() == False:
print("Yoooe gonna shut down now cuzz your input (ISNT A NUMBER!!!!!)")
quit()

b = random.randint(0,int(a))
c = input("Yooo whats the randomized number??? ")

if int(c) == b:
print("You guessed correctly~")
elif int(c) > b:
print("Guess a lower number, try again next time!")
elif int(c) < b:
print("Guess a higher number, bro you got it wrong pls try again.")

numfirstinput = input("Oki gimme a anotha numbah ")
if numfirstinput.isnumeric() == False:
print("Yoooe gonna shut down now cuzz your input (ISNT A NUMBER!!!!!)")
quit()
for i in range(0,int(numfirstinput)):
print(i)

num2 = input("Oki gimme another number")
if num2.isnumeric() == False:
print("Yoooe gonna shut down now cuzz your input (ISNT A NUMBER!!!!!)")
quit()

if int(num2) % 2 > 0:
print("Yoe numbaa odd")
else:
print("yoe numbaaa even")


29 changes: 29 additions & 0 deletions strings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
a = input("Input a String Nerd ")
if len(a) > 8:
print("Bruh Print Up To 8 Characters")
elif len(a) < 8:
print("Bruh Print Up To Eight Characters")
else:
print(str(len(a)))
print(a.upper())
print(a.lower())
print(a[0])
print(a[len(a)-1])
if a.lower() == True:
print(a.replace("h", "j"))
else:
print(a.replace("H","J"))

print(str(a[2:8]))
print(str(a[0:3]))
print(str(a[4:8]))

for i in a:
print(i)

b = input("Input a SECOND String Nerddddd")
print(str(a) + str(b))
if str(a) in str(b):
print("True Bro the Strings are the same")
else:
print("Nahh Bro the strings aint the same")