What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-23 06:20:13
make a script run itself again python
#our code var = input("Hi! I like cheese! Do you like cheese?").lower() if var == "yes": print("That's awesome!") # using While True while True: # Will keep going untill told not to using 'break' var = input("Hi! I ... Add solution -
Python 2022-03-22 09:50:46
how to save inputs python
#this is a getname command for example # Function gets name from user def get_name(): print("Hello what is your name?") name = input("My name is: ") print("Hello ", name) return name # you can use the nam... Add solution -
Python 2022-03-21 19:20:16
solve a second degree equation in python
import math print ("The second degree equation comes in the form") print("ax²+bx+c") a =int (input("Enter a: ")) b =int (input("Enter b: ")) c =int (input("Enter c: ")) d = (b**2)-(4*a*c) if d <... Add solution -
Other 2022-03-21 17:20:20
attention joji lyrics
print(Girl, would it kill you just to throw a little bit of attention? If I hurt you, I'm afraid that's gonna teach me a lesson Now would you hate me if I said goodbye So quick you could eat my dust? Now would you hate me if I run like hell In the wind fr... Add solution