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

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

  • 분류 전체보기 (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 피드
로그인
로그아웃 글쓰기 관리

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

컨텐츠 검색

태그

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

최근글

댓글

공지사항

아카이브

If(5)

  • day 6-5 python (무작위 장애물)

    나의 코드 def turn_right(): turn_left() turn_left() turn_left() while not at_goal(): if wall_in_front() and wall_on_right(): turn_left() elif wall_on_right() == True: move() elif right_is_clear() or wall_in_front() == True: turn_right() move() turn_right() move() else: move() 코드의 줄수는 적어도 실행 속도가 느림 다른 코드 def turn_right(): turn_left() turn_left() turn_left() def met_wall(): turn_left() while wall_on_r..

    2023.03.02
  • day 6-4 python (while 반복문 장애물)

    장애물이 바뀌면서 front_is_clear(), wall_in_front(), at_goal() 함수를 사용하고 반복문을 이용하여 완성시켜라 p.s. 시간이 많이 걸렸다 def turn_right(): turn_left() turn_left() turn_left() def met_wall(): turn_left() move() turn_right() move() turn_right() move() turn_left() while at_goal() !=True: if wall_in_front() == True: met_wall() elif front_is_clear() == True: move() else: break turn_right() 함수 생성 met_wall() 함수 생성 while at_goa..

    2023.03.01
  • 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-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
  • day 3-1 python (if/else 및 조건 연산자를 통한 흐름 제어)

    예시 print("Welcome to the rollercoaster!") height = int(input("What is your height in cm? ")) if height > 120: # 만약에 120 보다 크다면 print("You can ride the rollercoaster!") else: print("Sorry, you have to grow taller before you can ride.") 결과 결과1 120cm 도 탈수 있게 하려면? if height > 119: ################ 또는 if height >= 120: 이것을 비교 연산자라고 한다. Operator Meaning > Greater than = Greater than or equal to

    2023.02.21
이전
1
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바