Share your repls and programming experiences

← Back to all posts
Sword
drea14 (25)

An awesome sword that I made. Took pretty long as I am new to this website. I hope you like it and thank you.

Commentshotnewtop
MatthewDoan1 (216)

Cool sword.

You might want to look at messing around with the turtle's speed so you don't have to wait 20 seconds to see changes.

drea14 (25)

ok thanks for letting me know

GrantKeo (79)

@drea14
How to increase speed:
x = 15
t.speed(x)
While this will increase the speed, it will not actually make an instant drawing. I am also relatively new to turtle, so I do not know how to make an instant turtle.

I hope this works anyway!

c4syner (22)

@GrantKeo
You can make the turtle update as fast as possible, almost instantly if you:
x=0
t.speed(x)

Hope I was of help.

c4syner (22)

@GrantKeo
t.speed('Lightspeed^∞')

GrantKeo (79)

@c4syner Okay, the real answer to instant speed is this:

t.tracer(0, 0)
... etc etc ...
t.update()
GrantKeo (79)

@MatthewDoan1 Oh, now I just figured out that t.speed('fastest') was an actual function. Python is weird.

MatthewDoan1 (216)

@GrantKeo Not if you read the documentation! (Java habit sorry)

GrantKeo (79)

@MatthewDoan1 ¿Que? No habla Java, lo siento. No entiendo la broma.
(Yo tampoco hablo español.)

MatthewDoan1 (216)

@GrantKeo Yes, I can see from your irregular verb conjugations. Did you use a translator?

GrantKeo (79)

@MatthewDoan1 Yup. I told you I don't speak Spanish. Or any other language in general.

GrantKeo (79)

@GrantKeo Ya know what, how did we get from changing turtle speed to my usage of https://www.spanishdict.com/ ?

etian (31)

cout << "i only speak c++";@GrantKeo

MatthewDoan1 (216)

@etian

public class Main {
    public static void main(String... args) {
	System.out.println("Begone @etian");
    }
}
CapitalFront (7)

@etian
I speak in :

Java :

  import java.io.*;
  public class Main
  {
       public static void main(String[] args)
       {
        InputStreamReader r=new InputStreamReader(System.in);
        BufferedReader br=new BufferedReader(r);
        System.out.println(“I Speak in Java and You?”);
        String q1 = br.readLine();
        System.out.println(“So you speak in ” + q1 + ””);
        }
  }

HTML :

  <!DOCTYPE html>
  <html lang=“en”> 
   <head>
   <title>Query</title>
   </head>
   <body>
   <h1 style=“font-family : Trebuchet ms; font-size : 290%”>I also speak HTML and CSS</h1>
   <button style=“font-family : Trebuchet ms; font-size : 200%;” onClick=“D’Clicked()”>
    </button>
    <script>
     function D’Clicked()
     {
      alert(“I also speak JavaScript”); 
     }
     </script>
    </body>
    </html>

Python

    print(“I also speak Python”)

That’s all with (english of course).

drea14 (25)

Wow, thanks guys. I hadn't known how to increase speed so thanks for your comments.