Bugtype

  • 홈
  • 태그
  • 방명록

Computer Science 23

카카오 오픈채팅방

def solution(records): users = {} cmd = {"Enter": "님이 들어왔습니다.", "Leave": "님이 나갔습니다."} for record in records: strSplit = record.split() if strSplit[0] == 'Enter': users[strSplit[1]] = strSplit[2] elif strSplit[0] == 'Change': users[strSplit[1]] = strSplit[2] output = [] for record in records: strSplit = record.split() if strSplit[0] != "Change": output.append('{}{}'.format(users[strSplit[1]], cmd..

Computer Science/알고리즘 ( Algorithm ) 2019.01.30

python string 다루기

test = "Hello World 2019" test2 = "Bugtype" print (test.find("e")) print (test.lower()) print (test[3:]) print (test[:3]) print (test[::2]) print (test[::3]) print (test[::4]) print (test.split(" ")) print ([x for x in test]) print (sorted([x for x in test])) print ("%s by Bugtype" % test) print ("{:} by Bugtype".format(test,test2)) print ("{1} by Bugtype".format(test,test2)) 1hello world 2019lo..

Computer Science/알고리즘 ( Algorithm ) 2019.01.01

[python] list 가지고 놀기

numberList = list([x for x in range(1,10)]) numberList2 = list([str(x) for x in range(1,10) if x % 2 == 0]) numberList3 = list(map(lambda x: x+3, numberList)) numberList4 = [1,2] + numberList print(numberList) print(numberList2) print(numberList3) print(numberList4) [1, 2, 3, 4, 5, 6, 7, 8, 9]['2', '4', '6', '8'][4, 5, 6, 7, 8, 9, 10, 11, 12][1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9]

Computer Science/알고리즘 ( Algorithm ) 2018.12.22
1 2 3
더보기
프로필사진

IT 개발 관련 사이트 입니다.

  • 분류 전체보기 (86)
    • Cloud (2)
      • Kubernetes (1)
      • AWS (0)
    • Web (9)
      • React (3)
      • React-Redux (1)
      • CSS (3)
      • Tech (2)
      • Backend (0)
    • Javascript (14)
      • WTF (4)
      • Javascript (4)
      • Typescript (6)
    • Mobile App (26)
      • Android (3)
      • iOS (15)
      • React native (5)
      • Policy (2)
      • Tech (0)
    • Computer Science (23)
      • 알고리즘 ( Algorithm ) (22)
      • 운영체제 (Operating System ) (0)
    • 개발고민 (0)
      • Typescript (0)
      • React (0)
      • 기타 (0)
    • Rx (3)
    • 사이트추천 (1)
    • 보안관련 (1)
    • 잡담 (4)

Tag

google play #안드로이드 #구글 플레이 #정책 #안드로이드 정책, == #=== #JS #Javascript #WTF, Swift, javascript, javascript #자바스크립트, Google play #Policy in Korea, xcode, TypeScript, RX, javacsript, reactive, IOS,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바