본문 바로가기
CodeSignal/Arcade

CodeSignal [48/60] isDigit

by 벤진[Benzene] 2020. 5. 27.

Problem:

Determine if the given character is a digit or not.

 

Example

  • For symbol = '0', the output should be
    isDigit(symbol) = true;
  • For symbol = '-', the output should be
    isDigit(symbol) = false.

-Summary-

1. Python 의 isdigit()함수로 바로 풀수 있다.

 

 

모든 문제에 대한 저작권은 CodeSignal 회사에 있습니다. [Copyright © 2020 BrainFights Inc. All rights reserved]

https://codesignal.com/

'CodeSignal > Arcade' 카테고리의 다른 글

CodeSignal [50/60] chessKnight  (0) 2020.05.28
CodeSignal [49/60] lineEncoding  (0) 2020.05.27
CodeSignal [47/60] isMAC48Address  (0) 2020.05.27
CodeSignal [46/60] electionsWinners  (0) 2020.05.27
CodeSignal [45/60] buildPalindrome  (0) 2020.05.27

댓글