Max Digit by 안기웅 about Git
- def max_digit(number: int) -> int: # your code here return 0 if __name__ == '__main__': print("Example:") print(max_digit(0)) # These "asserts" are used for self-checking and not for an auto-testing assert max_digit(0) == 0 assert max_digit(52) == 5 assert max_digit(634) == 6 assert max_digit(1) == 1 assert max_digit(10000) == 1 print("Coding complete
- def max_digit(number: int): try: number_list = list(map(int
- def max_digit(number: int): try: number_list = list(map(int
Split Pairs by 안기웅
- def split_pairs(a): # your code here return None if __name__ == '__main__': print("Example:") print(list(split_pairs('abcd'))) # These "asserts" are used for self-checking and not for an auto-testing assert list(split_pairs('abcd')) == ['ab'
- if __name__ == '__main__': print("Example:") print(list(split_pairs('abcd'))) # These "asserts" are used for self-checking and not for an auto-testing assert list(split_pairs('abcd')) == ['ab'
- Click 'Check' to earn cool rewards!") if __name__ == '__main__': print("Example:") print(list(split_pairs2('abcd'))) # These "asserts" are used for self-checking and not for an auto-testing assert list(split_pairs2('abcd')) == ['ab'
2020 정보처리기사 필기 - 1.4 인터페이스 설계(1) by 박세용
- - 시스템 요구사항 명세서 포함 요소 : 인터페이스 이름
- - 인터페이스의 설계 및 구현 전 사용자들의 요구사항이 요구사항 명세서에 정확하고 완전하게 기술되었는지 검토하고 개발 범위의 기준인 베이스라인을 설정하는 것
- - 인터페이스 요구사항 명세서와 인터페이스 요구사항 목록을 기반으로 개발할 시스템과 연계할 시스템 사이의 인터페이스를 식별하고 목록을 작성
Beginning Zeros by 안기웅 about Git
- def beginning_zeros(number: str) -> int: # your code here return 0 if __name__ == '__main__': print("Example:") print(beginning_zeros('100')) # These "asserts" are used for self-checking and not for an auto-testing assert beginning_zeros('100') == 0 assert beginning_zeros('001') == 2 assert beginning_zeros('100100') == 0 assert beginning_zeros('001001') == 2 assert beginning_zeros('012345679') == 1 assert beginning_zeros('0000') == 4 print("Coding complete
- def beginning_zeros(number: str): initial_value = 0 for n in number: if int(n) == 0: initial_value += 1 else: return initial_value return initial_value
- if __name__ == '__main__': print("Example:") print(beginning_zeros('100')) # These "asserts" are used for self-checking and not for an auto-testing assert beginning_zeros('100') == 0 assert beginning_zeros('001') == 2 assert beginning_zeros('100100') == 0 assert beginning_zeros('001001') == 2 assert beginning_zeros('012345679') == 1 assert beginning_zeros('0000') == 4 print("Coding complete
Nearest Value by 안기웅
- You are given a list of values as set form and a value for which you need to find the nearest one
- 9)) # These "asserts" are used for self-checking and not for an auto-testing assert nearest_value({4
- 9)) # These "asserts" are used for self-checking and not for an auto-testing assert nearest_value({4
Between Markers by 안기웅
- end: str) -> str: """ returns substring between two given markers """ # your code here return '' if __name__ == '__main__': print('Example:') print(between_markers('What is >apple<'
- '<')) # These "asserts" are used for self-checking and not for testing assert between_markers('What is >apple<'
- '<')) # These "asserts" are used for self-checking and not for testing assert between_markers('What is >apple<'