본문 바로가기

Matsu

검색하기
Matsu
프로필사진 Matsu

  • 분류 전체보기 (54)
    • adaptiv (5)
    • deep learning (10)
      • 이수안_basics of deep learning (3)
      • 이수안_speech recognition (0)
      • deep learning from scratch_.. (3)
      • deep learning with pytorch_.. (4)
    • python (15)
      • algorithm (11)
      • multicampus education (4)
    • tour data competition_2021 (1)
    • stt&tts (2)
    • twigfarm_sol_project (0)
    • miscellaneous (10)
    • sql (8)
    • powershell (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/12   »
일 월 화 수 목 금 토
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
Tags
  • 딥러닝
  • pytorch
  • deep learning
  • IBM Watson
  • deep learning from scratch
  • google stt
  • 파이토치
  • Speech to Text
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록python/algorithm (11)

Matsu

Python_Ant sequence

수열의 첫째항이 1인 개미수열은 아래와 같다. 1 11 12 1121 122111 112213 .................... '1'이 '1'개 있으니까 '11' 11은 '1'이 '2'개 있으니까 '12' 12은 '1'이 '1'개 그리고 '2'가 '1'개 있으므로 '1121 ..................... 과제는 숫자 n 을 입력했을 때 개미수열의 n번째 항을 출력하는 것. 우리의 머리는 개미수열의 항들을 숫자로 인식하지만 항을 문자로 생각해보라는 강사님의 힌트에 따라 내가 처음 작성한 코드는 아래와 같다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 a = '13133' b = '' c = '' count = 1 for i in range..

python/algorithm 2021. 5. 15. 23:40
Prev 1 2 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바