Josiah Knisely
@JosiahKnisely
This is the first time I've ever tried coding, and it was actually pretty fun. I spent about an hour getting it just right, but here's the final proje
Python
I just lost a project with over 500 lines of code to accidentally pressing CTRL + V. Any ways to fix that???
TristanMisja Go to the empty repl and click on "saved" at the top. Then you can see the entire history of your repl.3 years ago
DynamicSquid Use VS to do all your main coding. It's like the best compiler out there, by far. I only use repl.it for testing projects and small examples3 years ago
Hey guys, the command time.sleep(whatever number you want) doesn't work in Python with Turtle. Any ideas???
Python (with Turtle)
Hey, Repl.it community! Do any of you know how to make the whole thing smaller so I can see the whole fan? All comments appreciated.
Python (with Turtle)
Anthony_Tonev define scale
scale =0.1
then multiply only forward and backwards values to it
t.forward(95xscale)
t.right(1280)
t.forward(459.5xscale)
t.left(9.5)
t.forward(106.5xscale)
t.left(22.5)
t.forward(.5xscale)
t.left(365)
t.forward(2250.5xscale)
t.right(.5)
t.backward(8.5xscale)3 years ago
I made this guessing game in about 20 minutes. It was my first ever Python project and I think it went pretty well! Upvote if you like it, so other pe
Python
CodeLongAndPros Great first project!
One comment though.
You use a lot of It just makes your code a bit more readable.
Again, great first project!3 years ago
Hey guys, I can't seem to get my program to say 'You won' at the end. Please help me. Any comments appreciated.
Python
UniqueOstrich18 So, you have to put break in the else: section, and you have to move the print statement to the end of the program. Also, the if statement at the beginning can be removed, as it is not necessary.
Modified Code:
import random
goal = random.randint(0, 100)
g = int(input('Try and guess what I\'m thinking of: '))
while goal != g:
print
if int(g) goal:
print(int(g), ('is too big.'))
g = int(input('Try and guess what I\'m thinking of: '))
else:
break #this breaks out of the loop3 years ago