Share your repls and programming experiences

← Back to all posts
A person
SamKat13 (30)

Just press run and you will see a funny looking person!

This post has been locked
Comments
hotnewtop
VulcanWM (2285)

How did this get so many upvotes?

CodingPseudonym (41)

I'm confused that this got more upvotes than something that took me days to make.

JosephSanthosh (1197)

How did this comment get so may upvotes? @VulcanWM

VulcanWM (2285)

Probably cos loads of people agree with me @JosephSanthosh

SamKat13 (30)

lol can you please press the up arrow thing for me [email protected]

[deleted]

Noice

JosephSanthosh (1197)

How did this get so many upvotes?

eekboi (286)

@SamKat13 Criticism is not hating.

Jakman (473)

@JosephSanthosh He might be a little kid. I bet he can't take anything that isn't a nice comment.

JosephSanthosh (1197)

Lol. You got a good point man. @Jakman

Jakman (473)

@JosephSanthosh I've been on this site long enough to know the minds of the beginners

Jakman (473)

@JosephSanthosh chances are he will quit once he runs out of ideas or he will make crappy animations

JosephSanthosh (1197)

Hhahaha, now you are a pro coder! Nice one [email protected]

Barry123 (344)

I like that look on his face

sickboy99 (2)

@Barry123 It's called a lenny face

Jakman (473)

@SamKat13 Its not funny. It's horrible. Delete this.

SamKat13 (30)

Why do you hate this so much?

SamKat13 (30)

lol can you please press the up arrow thing for me thx!

BhavyaMehrotra1 (2)

The person isn't even funny

SamKat13 (30)

He looks funny and he is funny unlike you.

Jakman (473)

@SamKat13 iM So sCaRrED. YoU cAlled mE nOT fUnNY.

PythonSwarit (14)

boi the person is so funny

aruba (8)

even simpler, you could just add onto your existing code,
sleep 2secs draw new legs in a different position, sleep 2 secs
and re-draw

SamKat13 (30)

can you tell me the code for it

aruba (8)

and in the animation loop, add a delay so it doesn't flash by
import time
time.sleep(2) # seconds

aruba (8)

you would need a second method in your figure class to change the legs

aruba (8)

animate a figure; what if you made a class called figure, and that class had a method that displayed the figure, then you could have a short loop, that would a) clear the screen b) modify the legs of the figure and finally c) display the new figure
(after that you could get fancy and and a start position, and move the figure across the screen)

aruba (8)

That is cute SamKat13, now can you make the figure dance !
animate it.

SamKat13 (30)

Can you somehow teach me how to animate it, I can not figure it out!

SamKat13 (30)

lol can you please press the up arrow thing for me thx!

DaLiteralPanda (11)

Why do ppl care about upvotes?

Jakman (473)

This is low quality.