본문 바로가기

배워서? 남줘라!

검색하기
배워서? 남줘라!
프로필사진 developing

  • 분류 전체보기 (16)
    • Translational Healthcare (16)
      • Research articles (1)
      • Review articles (0)
      • Python (9)
      • Github (6)
      • - (0)
    • LIFE (0)
      • FREEDOM ::: BOOK (0)
      • PEACE ::: MOVIE (0)
      • LOVE ::: SLEEP (0)
Guestbook
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록string (1)

배워서? 남줘라!

[Python] #2 Number & String data type

1. 숫자 자료형 #a^b a=3 b=2 print(a**b) #나눗셈 나머지 a=5 b=3 print(a%b) #나눗셈 몫 a=5 b=3 print(a//b) 2. 문자열 자료형 1 #문장 만들기 print("how's the weather?") print('how\'s the weather?') #escape code print("""how's the weather?""") how's the weather? how's the weather? how's the weather? Escape code (미리 정의된 문자조합) \n 줄 바꾸기 \t Tab \” “표현 \’ ‘표현 \\ \표현 2 #escape code를 이용해 줄바꾸기 표현 print("how's the weather?\nTell me.")..

Translational Healthcare/Python 2022. 10. 6. 16:26
Prev 1 Next

Blog is powered by Daum / Designed by Tistory

티스토리툴바