News

Task Write a function that checks whether a string is a correct sequence of brackets. 3 types of brackets are supported - [], {}, and () Input parameter - a string of any length. Result - a boolean.
One of the first concepts you’ll need to familiarize yourself with to that end is how to use strings. In this post, you’ll learn how to create, change, and concatenate strings in Python.
Learn how to use different methods and tools to determine the length of a string in Python, such as the len() function, the sys.getsizeof() function, and the re.findall() function.