Task: Check Whether a String Starts with a Specific Prefix in Python
Task: Check Whether a String Starts with a Specific Prefix in Python: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that checks whether a given string starts with the prefix "hello". This is equivalent to the Bash regex pattern matching "$string" =~ ^hello .
The task
Create a Python script that checks whether a given string starts with the prefix "hello". This is equivalent to the Bash regex pattern matching `[[ "$string" =~ ^hello ]]`.
Part of PrimeIntellect/Terminal-Lego-15k.