꼰대코더

  • 홈
  • 태그
  • 방명록

2025/01/24 1

if else 를 간단히 (tenary operator)

종래의 if else 문order_total = 247if order_total > 100:    discount = 25else:    discount = 0print(order_total, discount) 간단히discount = 25 if order_total > 100 else 0 print(order_total, discount)

data science/python 2025.01.24
이전
1
다음
더보기
프로필사진

꼰대코더

50대 c/c++ .net reactjs flutter deep learning 프로그래머

  • 분류 전체보기 (206)
    • 잡동사니 (3)
    • frontend (React) 개발 (19)
    • backend (Flask) 개발 (7)
    • backend (Go) 개발 (5)
    • opencv (19)
    • data science (46)
      • pandas (7)
      • python (27)
      • machine learning (10)
      • signal processing (2)
    • youtube english (43)
    • 뉘우스로 보는 일본 (7)
    • Health (8)
      • 심전도(ECG) 분석 (7)
      • Sleep 분석 (1)
    • Mobile (21)
      • Swift (17)
      • flutter (4)
    • Commands (21)
      • conda (1)
      • docker (8)
      • Linux (6)
      • git + github (6)

Tag

dockerfile, docker-compose, PDF, pandas, Docker, ECG, ㅜ, react #useEffect, OpenCV, word2vec,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/01   »
일 월 화 수 목 금 토
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 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • Flutter documentation
  • 더미 JSON 제공 서버
  • JSON 모델 자동변환
  • dart flutter package repositor…
  • 날씨정보 RESTAPI(끝에 영문 도시명을 지정)
  • 자바스크립트 레퍼런스
  • flutter cookbook
  • free icons
  • C#
  • 공짜 사진

티스토리툴바