CodeSignal/Arcade

CodeSignal [48/60] isDigit

벤진[Benzene] 2020. 5. 27. 08:24

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/