I am getting an error and I want a fix .-.
MATTHEWBECHTEL (122)

Here is the link - https://repl.it/@MATTHEWBECHTEL/Ffncehjanddfkicysbjizdpch3pco
It says SyntaxError: EOL while scanning string literal
As stated in the screenshot below

You are viewing a single comment. View All
Answered by JustARatherRidi (190) [earned 5 cycles]
View Answer
heyitsmarcus (287)

@MATTHEWBECHTEL If you look at your original write function, there is a second parameter that I named fltime (you could rename this to something else). In the very bottom line of the function, where you have time.sleep(0.03), I changed it to time.sleep(fltime) which will allow the function to use whatever value you pass in.

That means that you can control the time in every single write statement without having to overwrite the write function multiple times. You will only have one write function instead of tons of them, which you should not have...