| r10 | ||
|---|---|---|
| r1 (삭제된 사용자) (새 문서) | 1 | {{{#!syntax python |
| 2 | from math import sin, cos, tan | |
| 3 | print(sin(cos(not(cos(not(cos(not(cos(cos(sin(tan(tan(0))))))))))))) | |
| r10 | 4 | }}} |
| 5 | {{{#!syntax python | |
| 6 | import os | |
| 7 | import pygame | |
| 8 | import sys | |
| 9 | from pygame.locals import | |
| 10 | ||
| 11 | width = 1980 | |
| 12 | height = 1080 | |
| 13 | white = (255, 255, 255) | |
| 14 | black = ( 0, 0, 0) | |
| 15 | fps = (30) | |
| 16 | ||
| 17 | pygame.init() | |
| 18 | ||
| 19 | pygame.display.set_caption('hello, python!') | |
| 20 | displaysurf = pygame.display.set_mode((width, height), 0, 32) | |
| 21 | clock = pygame.time.Clock() | |
| 22 | ||
| 23 | ##더이상의 자세한 프로그래밍은 생략한다. | |
| r1 (삭제된 사용자) (새 문서) | 24 | }}} |