argentalius
@argentalius
Description
This is just a simple number guessing game. You probably seen others make them too. I decided t make one for fun. Just try to guess the nu
Python
Welcome farmer!
Objective:
The point of this game is to make money through the process of planting and selling crops and property. View this beta to g
Python
I need help soring words into a list called 'words'.
The code is here: https://repl.it/@JerryTheMouse/Markov-Chain-Attempt
at lines 13-21.
I'm trying to align text so on side of the text is aligned to the left and the other to the right... Please help.
https://repl.it/@JerryTheMouse/Exper
I was using
except KeyboardInterrupt:
...
in my code. But, after trying it, when I do CTRL+C it handles it but the program continues to prompt the
BotsBoots CTRL+C works fine on my keyboard and it does interrupt the program, but it doesn't do the exception. It could be a bug in repl.it.4 years ago
I'm trying to create code that checks a number's truthiness.
Because:
if 0:
print('run if true")
#no output
if 1 :
print ('run if true')
#output: run
ash15khng @JerryTheMouse A bit late, but why not just do:
print(bool(float(input("Enter number you want to check: "))))
Explanation:
input() gets the number as a string
float() turns the string into a float (if the number isn't a float it'll just crash)
bool() checks its truthiness
print() prints the output4 years ago
Here's my project, I'd love to collaborate if u can: https://repl.it/@JerryTheMouse/Hell
o-World
timmy_i_chen I think you put a space in your repl link by accident! Also, what kind of errors do you need help with? It helps if you explain the errors so we don't have to wade through it ourselves :)5 years ago