본문 바로가기 메뉴 바로가기

Ungyi Tech

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Ungyi Tech

검색하기 폼
  • See all (832)
    • IT (197)
      • PowerApps (7)
      • CCNA: Udemy (31)
      • Python: Codecademy (13)
    • LifeStyle (342)
      • Diary (80)
      • Perth (121)
      • Movies (7)
      • Motorcycle (30)
    • Travel (52)
      • AU (32)
      • NZ (18)
    • AU Study (200)
      • ECU 182 (14)
      • CSG2305 Computer Forensics (17)
      • SCI1125 Professional Scienc.. (7)
      • CSG2344 Project Methods and.. (10)
      • CSG2431 Interactive Web Dev.. (12)
      • ECU 191 (3)
      • TAFE (123)
      • TAFE Assessment (14)
    • KR (14)
      • Driving License (7)
  • 방명록

IT/Python: Codecademy (13)
Python 3 Conditionals and Control Flow

Comparators3 = 5 10 == 10 12 != 13Boolean operatorsTrue or False (3 = 5) this() and not that()Conditional statementsif this_might_be_true(): print "This really is true." elif that_might_be_true(): print "That is true." else: print "None of the above." # Complete the if and elif statements! def grade_converter(grade): if grade >= 90: return "A" elif grade >= 80 : return "B" elif grade >= 70: retu..

IT/Python: Codecademy 2018. 2. 21. 02:05
Python 2 Strings and Console Output

Three ways to create strings'Alpha' "Bravo" str(3)String methodslen("Charlie") "Delta".upper() "Echo".lower()Printing a stringprint "Foxtrot"Advanced printing techniquesg = "Golf" h = "Hotel" print "%s, %s" % (g, h) Date and time from datetime import datetime now = datetime.now() print '%s/%s/%s %s:%s:%s' % (now.month, now.day, now.year, now.hour, now.minute, now.second)

IT/Python: Codecademy 2018. 2. 18. 17:22
Python: 1 Python Syntax

# comment monty = True python = 1.234 monty_python = python ** 2 # Assign the variable total on line 8! meal = 44.50 tax = 6.75 / 100 tip = 15.0 / 100 meal = meal + meal * tax total = meal + meal * tip print("%.2f" % total)

IT/Python: Codecademy 2018. 2. 18. 17:02
이전 1 2 다음
이전 다음
Announcement
Recent Posts
Recent Comments
Total
Today
Yesterday
Link
TAG
more
«   2025/08   »
일 월 화 수 목 금 토
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
Search by month

Blog is powered by Tistory / Designed by Tistory

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.