본문 바로가기

코딩헤딩

검색하기
코딩헤딩
프로필사진 멈머이

  • 분류 전체보기 (128)
    • HTML | CSS (4)
    • javascript (6)
    • AWS | lightsail (7)
    • Git (1)
    • python (24)
    • 데이터베이스 (24)
      • ORACLE (12)
    • 데이터 (8)
    • 뻘짓 (4)
    • 프로젝트 (10)
    • 크롤링(crawling) | 시각화 (5)
    • 머신러닝 | 딥러닝 (24)
Guestbook
Notice
Recent Posts
Recent Comments
Link
160x600
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Tags
  • pythone
  • DB
  • tensorflow
  • 딥러닝
  • python기초
  • python
  • HeidiSQL
  • sklearn
  • 파싱 오류
  • 정확도
  • 데이터 분석
  • 해석
  • 회귀모델
  • sql
  • Database
  • 머신러닝
  • 시각화
  • pandas
  • 데이터베이스
  • 예측
  • 오라클
  • 데이터 수집
  • 데이터
  • 데이터 가공
  • keras
  • 데이터전처리
  • Oracle
  • Deep Learning
  • 훈련
  • MariaDB
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록def (1)

코딩헤딩

python 기초 13 (함수)

1. 기본 구조 숫자의 연산 def twice(x): return x*2 a = 2 b = 3 print(twice(a)) print(twice(b)) 결과 : 4 6 문자 def hello(x): print('hello', x) hello('python') 결과 : hello python 2. zip/ unzip def add_minus(x, y): a = x + y b = x - y return a, b add_minus(5, 7) 결과 : (12, -2) print(type(add_minus(5, 7))) 결과 : a, b = add_minus(7, 8) print(a, b) 결과 : 15 -1 print(type(add_minus(7, 8))) 결과 : 더하기, 빼기 = add_minus(7, 8..

python 2023. 11. 16. 00:13
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바