본문으로 건너뛰기

파이썬(r4판 Blame)

r4
r1
(삭제된 사용자)
1{{{#!syntax python
2from math import sin, cos, tan
3print(sin(cos(not(cos(not(cos(not(cos(cos(sin(tan(tan(0)))))))))))))
r2
4}}}
5{{{#!syntax python
6import os
7import pygame
8import sys
9from pygame.locals import
10
11width = 1980
12height = 1080
13white = (255, 255, 255)
14black = ( 0, 0, 0)
15fps = (30)
16
17pygame.init()
18
19pygame.display.set_caption('hello, python!')
20displaysurf = pygame.display.set_mode((width, height), 0, 32)
21clock = pygame.time.Clock()
22
23##더이상의 자세한 프로그래밍은 생략한다.
r3
24}}}
r4
25
26== 개요 ==
27초보자가 배우기엔 쉽지만, 라이브러리마다 호환되는 버전이 다른데, 이 경우 파이썬을 다운그레이드 해주어야하지만, 파이썬 다운그레이드만큼 어려운게 없다.
r3
28[[분류:프로그래밍 언어]]