human
How to tell if string starts with a number?
assistant
Here is some code to check if string `string` starts with a number

string[0].isdigit()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.