LogIn E-mail
설계이야기
def hello() fun1(a) fun2(a,b)
# 15 JMJS    19.11.11 10:08

def hello():
        print("Hello Python!")

hello()
hello()
hello()

def hello2(name):
        print("Hello",name)

hello2("Justin")
hello2("John")

def triangle(a,h):
        c=a*h/2
        return c

s1=4
s2=5
s3=triangle(s1,s2)
print(s1," ",s2," ",s3)

게시물: 22 건, 현재: 1 / 1 쪽
번호 제       목 작성자 등록일 방문
23  모두의 파이썬 - 20일만에배우는 프로그래밍 기초 JMJS 20.1.8 4
22  python -m pip install -U pip JMJS 19.11.25 15
21  get =lambda i,m ... JMJS 19.11.13 22
20  2차원 리스트, 튜플 JMJS 19.11.13 17
19  [turtle]def polygon3(n,c,d) JMJS 19.11.11 19
18  [turtle]def polygon2(n,a) JMJS 19.11.11 17
17  def factorial(n) JMJS 19.11.11 18
16  def sum_func(n) JMJS 19.11.11 20
15  def hello() fun1(a) fun2(a,b) JMJS 19.11.11 19
14  while sum JMJS 19.11.11 20
13  random calculation JMJS 19.11.11 18
12  turtle random JMJS 19.11.11 18
11  import time time.time JMJS 19.11.11 18
10  turtle begin_fill end_fill JMJS 19.11.11 20
9  if else JMJS 19.11.11 18
8  input JMJS 19.11.11 20
7  list JMJS 19.11.11 19
6  turtle triangle JMJS 19.11.11 18
5  for range JMJS 19.11.11 17
4  모듈 사용하기 JMJS 19.11.11 20
3  import 파이썬 모듈 가져다 쓰기 JMJS 19.11.11 20
1  print 줄바꿈 JMJS 19.11.11 48
[1]