-9
Programming problem: In BotLand, Robots can understand all words of any combination of letters and letters with leading or trailing (not both) numeric value. Given a word W (string of alphanumeric). Write a function to check if W is Bot word. Don't use library functions/ regex.
Example:
Input: BotLand
Output: Bot word
Input: BotLand77
Output: Bot word
Input: 1Bot2Land3
Output: Non Bot word
6
Welcome to CGCC. This site hosts recreational programming challenges, based on an objective winning criterion. (Here, you picked
– Arnauld – 2019-08-26T13:37:32.753code-golf
: the shortest answer wins.) It is not designed to get any practical implementation or theoretical answer. So, is it really supposed to be a challenge?