M B
@MATTHEWBECHTEL
Read the title. It won’t let me submit this unless it is at least 50 characters long so...............................................................
Here is the link - https://repl.it/@MATTHEWBECHTEL/Ffncehjanddfkicysbjizdpch3pco
It says SyntaxError: EOL while scanning string literal
As stated in t
heyitsmarcus If you're going to have two different time.sleep() times, you should just pass in the time to the original write function that you need like so:
import sys, time
def write(string, fltime):
for char in string:
sys.stdout.write(char)
sys.stdout.flush()
time.sleep(fltime)
write("I am going to count to 1 to 1,000. ", 0.025)
time.sleep(0.75)
write("Follow every word and diget to know if this speed is just right for you. ", 0.025)
time.sleep(0.75)
write("Here we go. ", 0.0254 years ago
JustARatherRidi That's odd, the repl works fine for me. However, from the picture, your ending double quote looks a bit odd. Are you typing on your mobile?4 years ago
I am using the following within this repl: https://repl.it/@MATTHEWBECHTEL/TIMED-TEXT-EXAMPLE
I want it to say a sentence, then wait like 3 seconds.
MATTHEWBECHTEL @PYer OK. I fixed some errors and it works sort of better now. Thanks for the advice. There’s another problem now. Btw before I set line 132 to while False: and not while True:
BC9EFB3B-70D7-4040-9F4F-476472CDEE20
As soon as you reach the corridor room and type 2, it prints line 87 through 89. I want it to print line 83.4 years ago
Ok, so there’s this error that appeared when I tried opening my repl in a new tab. It said “Preflight response is not successful”. Anyone have a fix?
MATTHEWBECHTEL 462431CC-F547-4978-A358-10AE1CFCF07E
The error occurs on any program that I try typing on so the link isn’t necessary. @leon3321574 years ago
When you open the email and the header is probably like Repl.it: (User) replied to your comment. Then you press the VIEW COMMENT button, then it autom
Vandesm14 To open a link in a different browser, you can change your default apps settings for your device, allowing you to have Google Chrome as your default. You can do this on Android and Windows, not sure about Apple or Mac though. (You probably can, although it might be tricky because...Apple)
If you aren't talking about just the email portion of the comment reply system, you can just hit "View All" right before that comment to view all of the comments for that post. But if you are thinking about th4 years ago
Anyone know a good place to start learning LOLCODE?
stevenhuang2025 Ok, this should help you: https://repl.it/talk/learn/A-Crash-Course-in-LOLCODE/7714
4 years ago
a5rocks No, but I'm sure you can find a great text tutorial on LOLCODE's main site, or a great video tutorial on YouTube.
In this case, LOLCODE's site doesn't feature any tutorials, but a quick glance over the forums leads to this post: http://forum.lolcode.org/viewtopic.php?f=3&t=30&p=65&hilit=learn#p654 years ago
Is there a way to make it so for example, you send 1000 messages per second and you send the first 1000 messages to then wait like 1 second and contin
Murzikal @ArchieMaclean summed it up well for python. Just replace xrange with range and # send message with print("your message")4 years ago
ArchieMaclean I'm not quite sure what the question is?
I think what you want is to send 1000 messages in 1 second, then wait 1 second, and repeat? If so, you could have something like this:
import time
while True: # repeats forever
numberoftimes = 1000
for each in xrange(numberoftimes):
send message
this will wait 1/numberoftimes seconds - if you do
this numberoftimes times, then it will add up to 1 second
time.sleep(1/numberoftimes)
then wait 1 second before starting again
time.sleep(1)
Please 4 years ago
Does anyone now how to loop something?