repost
import pygame, sys, glob, random, math
from pygame import *
from random import *
h=600
w=800
screen = pygame.display.set_mode((w,h))
clock = pygame.time.Clock()
class ball:
def __init__(self):
# sets the x and y values of the start position for our sprite...