Last active
June 17, 2020 15:00
-
-
Save yoelpiccolo/e6c79d9ef26df6781e2ee0a48944237f to your computer and use it in GitHub Desktop.
Inconsistent use of tabs and spaces in indentation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
import sys | |
from settings import Settings | |
from raindrop import Raindrop | |
def update_location_of_raindrops(set1, raindrops): | |
screen_rect = screen.get_rect() | |
for raindrop in raindrops.sprites(): | |
raindrop.y += set1.raindrop_vertical_speed | |
raindrop.rect.y = raindrop.y | |
if(raindrop.rect.top > screen_rect.bottom): | |
building_fleet.create_new_row_above(set1, screen, raindrop) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment