Commit e9db4956 by BellCodeEditor

save project

parent a211e53a
Showing with 3 additions and 16 deletions
# 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本'
import pygame
from pygame import locals
pygame.init()
Window = pygame.display.set_mode((660,480),0,32)
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
quit()
pygame.display.update()
filee = open(r'C:\Users\luvra\Desktop\Yeet.txt',"w",encoding="utf-8")
filee.write("'小兰:12本'\n'小丽:11本'\n'李文:9本'\n'张伟:16本'\n")
filee.close()
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