코딩을 한단계씩 부셔보자.

코딩을 한단계씩 부셔보자.

  • 분류 전체보기 (319)
    • 코딩배움일지 (157)
      • JAVA (79)
      • DataBase (29)
      • Web 구현 (34)
      • 인터페이스 구현 (15)
    • 개인적인 공부 (142)
      • 자바 (6)
      • 백준 (47)
      • Java의 정석 (0)
      • 그냥정리 (2)
      • Database 복습 (5)
      • 테스트 페이지 (1)
      • 프론트엔드 (7)
      • Unity (29)
      • Python (45)
    • TeamProjectHappy (12)
      • front (9)
      • database (3)
    • 개발일지 (2)
      • Journey to West (2)
  • 홈
  • 배움기록
  • 태그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

코딩을 한단계씩 부셔보자.

컨텐츠 검색

태그

왕초보 2D unity 유니티 자바 배열 Python 백준 java c# javascript html 자바기초 javabasic CSS SQL 파이썬 database java기초 Web

최근글

댓글

공지사항

아카이브

Python(45)

  • day 3-8 python (논리 연산자)

    파이썬에서 사용하는 논리연산자 and, or, not and A and B 코드 전체에서 둘다 True이어야 한다 둘중 하나라도 False이면 False이다. or C or D 둘중 하나라도 True이면 True이다. 모두 False이면 거짓이다. not not E 조건의 반대로 결과를 만든다. 조건이 False이면 결과는 True/ 조건이 True이면 결과는 False # 논리 연산자 # and = 코드 전체에서 둘다 True이어야 한다 둘중 하나라도 False이면 False이다. # or = 둘중 하나라도 True이면 True이다. 모두 False이면 False이다. # not = 조건의 반대로 결과를 만든다. 조건이 False이면 결과는 True/ 조건이 True이면 결과는 False # if Cu..

    2023.02.22
  • day 3-7 python (피자주문)

    Instructions Congratulations, you've got a job at Python Pizza. Your first job is to build an automatic pizza order program. Based on a user's order, work out their final bill. Small Pizza: $15 Medium Pizza: $20 Large Pizza: $25 Pepperoni for Small Pizza: +$2 Pepperoni for Medium or Large Pizza: +$3 Extra cheese for any size pizza: + $1 Example Input size = "L" add_pepperoni = "Y" extra_cheese =..

    2023.02.22
  • day 3-6 python (다중 연속 if 문)

    if/elif/else Multiple if if condition1: do A elif condition2: do B else: do C if condition1: do A if condition2: do B if condition3: do C A, B, C 중 어느 하나만 수행함 A,B,C 세가지 조건을 확인 후 모두 참이라면 A,B,C가 작동 # 다중 연속 if문 print("Welcome to the rollercoaster!") height = int(input("What is your height in cm? ")) #################################################### bill = 0 if height >= 120: print("You can ride ..

    2023.02.22
  • day 3-5 python (윤년, Leap Year)

    윤년인가 아닌가를 알아보자 💪This is a Difficult Challenge 💪 Instructions Write a program that works out whether if a given year is a leap year. A normal year has 365 days, leap years have 366, with an extra day in February. The reason why we have leap years is really fascinating, this video does it more justice: https://www.youtube.com/watch?v=xX96xng7sAE This is how you work out whether if a particular yea..

    2023.02.22
  • day 3-4 (BMI 2.0 Exercise)

    BMI수치에 따른 해석문 Instructions Write a program that interprets the Body Mass Index (BMI) based on a user's weight and height. It should tell them the interpretation of their BMI based on the BMI value. Under 18.5 they are underweight : 18.5 아래 이면 저체중 Over 18.5 but below 25 they have a normal weight : 18.5이상 25 미만 정상체중 Over 25 but below 30 they are slightly overweight : 25이상 30미만 과체중 Over 30 but belo..

    2023.02.22
  • day3-3 python (중첩 if 문과 elif문)

    저번에 했던 if, else 문에서 print("Welcome to the rollercoaster!") height = int(input("What is your height in cm? ")) if height >= 120: print("You can ride the rollercoaster!") else: print("Sorry, you have to grow taller before you can ride.") 중첩 if 문 한번 더 선택의 갈림길이 주어진다. # 중첩 if문 print("Welcome to the rollercoaster!") height = int(input("What is your height in cm? ")) ###################################..

    2023.02.22
이전
1 2 3 4 5 6 7 8
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바