Creepz
Member-
Posts
173 -
Joined
-
Last visited
Awards
This user doesn't have any awards
Profile Information
-
Gender
Not Telling
System
-
CPU
i7 3770K @4.5 Ghz
-
Motherboard
z77 Asus Sabertooth
-
RAM
4x4gb, Ripjawsx 1600mhz
-
GPU
GTX 970 STRIX SLI
-
Case
Corsair 600t
-
Storage
3x 120 GB ssds(two in raid 0), 1TB Black, 1.5TB Seagate
-
PSU
ABS Majesty 1100 watt Gold
-
Display(s)
3x @1080p 144hz 120hz 60hz
-
Cooling
Corsair h100i
-
Keyboard
Corsair k90
-
Mouse
Steel series rival
-
Sound
ATH M50x, Asus xonor dx
-
Operating System
Windows 8.1
Recent Profile Visitors
774 profile views
Creepz's Achievements
-
It worked, thank you!
-
number = int(input("What is your first number you want to work with??\n")) if(number%2>0): print("Your number is odd") else: print("Your number is even") number_2= int(input("What is another number you want to work with?\n")) if(number_2%2>0): print("Your number is odd") else: print("Your number is even") operator = input('What do you want to do: multiply, divide, add, subtract?\n') if(operator=='multiply'): print(number * number_2) elif(operator=='divide'): print(number / number_2) elif(operator=='add'): print(number + number_2) elif(operator=='subtract'): print(number - number_2) else: print ("Okay") Whenever I try to run mine, this happens: What is another number you want to work with? 6 Your number is even What do you want to do: multiply, divide, add, subtract? divide Traceback (most recent call last): File "C:/Users/Devin/test.py", line 15, in <module> operator = input('What do you want to do: multiply, divide, add, subtract?\n') File "<string>", line 1, in <module> NameError: name 'divide' is not defined Process finished with exit code 1
-
It doesn't work either way. I changed it to an int after it not working to see if there was another problem. number = int(input("What is your first number you want to work with??\n")) if(number%2>0): print("Your number is odd") else: print("Your number is even") number_2= int(input("What is another number you want to work with?\n")) if(number_2%2>0): print("Your number is odd") else: print("Your number is even") operator = input('What do you want to do: multiply, divide, add, subtract?\n') if(operator=='multiply'): print(number * number_2) elif(operator=='divide'): print(number / number_2) elif(operator=='add'): print(number + number_2) elif(operator=='subtract'): print(number - number_2) else: print ("Okay") This doesn't work.
-
number = int(input("What is your first number you want to work with??\n")) if(number%2>0): print("Your number is odd") else: print("Your number is even") number_2= int(input("What is another number you want to work with?\n")) if(number_2%2>0): print("Your number is odd") else: print("Your number is even") operator = int(input('What do you want to do: multiply, divide, add, subtract?\n')) if(operator == 1): print(number * number_2) elif(operator == 'divide'): print(number / number_2) elif(operator == 'add'): print(number + number_2) elif(operator == 'subtract'): print(number - number_2) else: print ("Okay") How can I make my calculator divide when I type divide into the third question? It currently works if I use integers instead of strings.
-
Use other threads to flame on; you don't understand. Can I buy it for 9$ on steam?
-
Trying to buy tombraider for 9$ on the windows store and on my desktop it says "To use this app, upgrade to latest version of windows." I'm on the latest version of windows, any ideas?
-
My wd black is close to 200 mb/s, they're definitely worth the extra. It's more than a sticker.
-
I wouldn't bash that company, they have some dank ass fans.
-
How do I set the speakers as the output device for spotify?
-
I have a soundcard and the z77 sabertooth's realtek audio. How do I get my headphones that're plugged into the soundcard to play everything besides vlc and spotify?
-
I'm probably going to buy into this. I'm a huge fan and I own all of them. Even if the port is extremely optimized I should be able to run it on decent settings. Pre-ordering is a gamble that i'm willing to take on this game.
-
I know it crashes from time to time. iOS really doesn't.
-
I am a nexus 6p owner/android fan. The iPhone 6s is made out of better aluminum, has way faster storage(nvme I think), faster cpu, faster gpu, force touch, imessage, facetime, >=camera. It comes down to if you're an iOS or Android person. Apple has their shit together on the hardware. Also my Nexus 6p randomly crashes on googles cleanest version of android. But I'd buy it again in a heart beat; wish it had my one plus one's battery life though.
-
[US-Amazon] Samsung 840 EVO-Series 500GB - $333.26
Creepz replied to BYOGamingPC's topic in Hot Deals
It's an old post..... -
Yeah that's the point, my bad. If that's what you are happy with, it makes sense that you'd recommend it.