<commit_before>import pygame
from time import sleep
from pygame.locals import *
import sys

pygame.init()

white = (255,255,255)
black = (0,0,0)
red = (255, 0, 0)
green = (0, 255, 0)
blue = (0,0, 255)
gray = (100, 100, 100)
 

train = pygame.image.load('pixel-train2.png')
screen = pygame.display.set_mode((600, 600))
pygame.display.set_caption('TRAIN WRECK')

screen.fill(green)

x = (300)
y = (300)


for x in range(500):
    x == x + 20
    screen.blit(train,(x,y))
    pygame.display.flip()
    sleep(0.01)<commit_msg>put simple user input in. Train still needs to be changed to an object.<commit_after>import pygame
from time import sleep
from pygame.locals import *
import sys
usrin = raw_input("Press Key: ")


pygame.init()

white = (255,255,255)
black = (0,0,0)
red = (255, 0, 0)
green = (0, 255, 0)
blue = (0,0, 255)
gray = (100, 100, 100)
 

train = pygame.image.load('pixel-train2.png')
screen = pygame.display.set_mode((600, 600))
pygame.display.set_caption('TRAIN WRECK')

screen.fill(green)

x = (300)
y = (300)


if usrin == "w":

    for x in range(500):
        x == x + 20
        screen.blit(train,(x,y))
        pygame.display.flip()
        sleep(0.01)
{'fraction_non_alphanumeric': 0.1643952299829642, 'fraction_numerical': 0.09710391822827939, 'mean_word_length': 3.5719844357976656, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5165444', 'n_tokens_mistral': 550, 'n_tokens_neox': 460, 'n_words': 124}