QUESTION

Text
Image


In Python Write a function named is_basic_expr. This function must accept a string as a parameter and return a Boolean value that indicates whether that string represents a valid basic expression. For this question, assume that valid expressions consist of one or more positive integers that are separated by basic operators (only the operators,,+- *, and /). The string must start and end with an integer. Moreover, a single space must always separate integers and operators in a valid expression. For example: Note: The gaps between characters are single spaces except for the last, which has 2 spaces before and after the + character.

Public Answer

OLAJHX The First Answerer