Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

6
assigning an object to an X and Y coordinate
Post Body

so im making rain drops that start back at the top once they've reached the bottom of the screen. i've assumed that the top is 100 pixels and the bottom is 0 pixels.

import time
xPositions = [0,10,20,30,40,50,60,70,80,90]
yPositions = [0,5,1,6,19,6,3,7,15] 

while True:            
    for i in range(len(yPositions)):
        yPositions[i] = yPositions[i] - 5
        if yPositions[i] < 1:
            yPositions[i] = 100
            print(yPositions)
            time.sleep(0.1)

i've basically coded the program, i just dont know how to go about giving it a visual: an actual display of raindrops falling

Author
Account Strength
100%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
6,552
Link Karma
3,057
Comment Karma
3,495
Profile updated: 3 days ago
Posts updated: 8 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago