Skip to content

Instantly share code, notes, and snippets.

@yoelpiccolo
Last active June 17, 2020 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoelpiccolo/e6c79d9ef26df6781e2ee0a48944237f to your computer and use it in GitHub Desktop.
Save yoelpiccolo/e6c79d9ef26df6781e2ee0a48944237f to your computer and use it in GitHub Desktop.
Inconsistent use of tabs and spaces in indentation
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