Samuel Kuld
@SamuelPKuld
Good Luck I guess
For a while I have been asking myself what I should make next.
A website?
A collaborative project?
A guided project?
An app?
What is it that I should
Inspired by @whywhywhy , he gave the question of how to make an actual program to have two bots fight with rock paper scissors.
Well after obsessing
Python
The title is a bit ambiguous, but, what I mean is how do we have python learn what is a proper value against another.
Even more thought out, how do we
Python
https://repl.it/@TheFlooBearer/WiltedSardonicChapter
When running this program, I seem to struggle with getting a full answer out of it. I seem to ha
Python
This Repl.it is a game I made mimicking the game cookie clicker. It is something I've been working on for a while, and feedback would be greatly appre
Python
https://repl.it/@TheFlooBearer/While-loop-Character-specifics
I need to find a way to change the characters in the file that are integers into the var
mwilki7 I'm getting a 404 (page not found) error. Do you have the correct link or is your repl public?
As for the description of the problem,
You want to know how to (for example) change:
file.txt
1
285
45
62
8
19
56
2
...
to different numbers, line by line then reloop if necessary?4 years ago
https://repl.it/@TheFlooBearer/Local-Global
In this example, I am trying to have the program change the AB variable's (Global Variable) value within
ArchieMaclean You've just made a very small error. It's quite easy to make. On line 9, it should be
ab+=1
instead of
ab+1
ab+=1 is shorthand for ab=ab+1, but ab+1 just adds 1 to ab, but doesn't store the value.
Please mark this as the answer if it solved your problem :)4 years ago
I tend to want to learn different languages, but don't have a good source in which to learn them. Does anyone have any websites or pdfs that me and ot
lsambrook Try learning : html, css, js.
For me it's the most important language. You have plenty of websites to learn about them on the internet.4 years ago
theangryepicbanana there aren't different types of python, but there are other programming language in general. you may want to look at https://www.sololearn.com for learning some4 years ago
https://repl.it/@TheFlooBearer/The-way-you-will-die
In my code, I hope to have the program execution notice that the variables at the beginning are m
JustARatherRidi There are two things wrong with your program.
First off, repl.it's file writing is a bit wonky. So you'll have to stick to running your code locally if you're trying to do file writing.
If you're looking for a way to store the data online, you'd have to use a database. And pretty much the easiest way to do that would be by using jsonstore.io and leon's client
Secondly, you can't open a file in read mode and in write mode at the same time. This means that you'd have to do fr.close() before fw 4 years ago
In my code, it would be helpful to have the program execution go to the beginning of the program. Once the program execution reaches the bottom of th
JustARatherRidi Whenever you need to repeat blocks of code, think of loops. If you want to execute all of the code repeatedly, just put the whole thing inside a loop :)
Working code: https://repl.it/@JustARatherRidi/Magic-8-Ball4 years ago
Random Exercise. I dunno. I like it. It's just that though. A magic 8 ball. You enter your question into the output. Wait a couple seconds before thou
Python
https://repl.it/@TheFlooBearer/Python-Guessing-Game-Exercise
Python File, if the URL didn't give that way.
This is my code. I am trying to make a game
SixBeeps input() returns a string, but the number is an integer. Use int(guess1) == number and int(guess1) != number and tries >= 1 instead.4 years ago