Commit 6b1f7587 by BellCodeEditor

auto save

parent 0d44bb95
Showing with 15 additions and 6 deletions
import pygame # import pygame
# from pygame import locals
# # 初始化pygame,为使用pygame做准备
# pygame.init()
# 初始化pygame,为使用pygame做准备 # # 创建一个窗口
pygame.init() # screen = pygame.display.set_mode((660,480))
# while True:
# 创建一个窗口 # for event in pygame.event.get():
screen = pygame.display.set_mode((660,480)) # print(event)
# if event.type == locals.QUIT:
# exit()
from random import randint
a = random.randint(2,5)
print(a)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment