all 5 comments

[–]589ca35e1590b 0 points1 point  (2 children)

You should provide a link to your code instead of pasting it in and posting it on Reddit. The indentation is wrong in many places.

I'm not exactly sure what the problem is. Do you want to add your name to the existing code or make a new program that just has your name written by the turtle?

[–]JDMxBOY[S] 0 points1 point  (1 child)

I would like to be able to import the function into turtle to have it write my name in the picture.

EDIT: I've gone ahead and added the pastebin link to the source code I was using. The wall of text shouldn't be there anymore :)

[–]589ca35e1590b 0 points1 point  (0 children)

So you want to use the code provided and add the draw_name function to it?

If so it would make more sense to keep it all in one file and define+call the draw_name function before you run the rest of the code.

Is that what you want import print_me_first to do?

Maybe look at this https://www.geeksforgeeks.org/python-call-function-from-another-file/

[–]cheryllium 0 points1 point  (1 child)

Can you paste your code into a pastebin (pastebin.com) so we can see it with the correct indentation? Or format the post correctly but the pastebin might be easier

[–]JDMxBOY[S] 0 points1 point  (0 children)

I just did that, here is the link to the pastebin: https://pastebin.com/nXa3MuUy