Commit 93c8688b by BellCodeEditor

auto save

parent 61e311b1
Showing with 8 additions and 9 deletions
print(hex(45))#十进制转十六进制
print(bin(45))#十进制转二进制
import pygame #导入pygame模块 import pygame
pygame.init() #初始化 from pygame import locals
screen=pygame.display.set_mode((660,440)) #设置画布的大小 pygame.init()
\ No newline at end of file screen=pygame.display.set_mode((660,480))
background=pygame.image.load()
\ No newline at end of file
...@@ -5,7 +5,3 @@ for i in range(3): ...@@ -5,7 +5,3 @@ for i in range(3):
arr[i].append(1) arr[i].append(1)
for i in arr: for i in arr:
print(i) print(i)
for i in range(3):
for j in range(3):
print(arr[i][j],',',end='')
print()
\ 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