Exercise: Check if strings have same length

Compare the strings str1 and str2 to check if they have the same length. Use the Equal operator and the appropriate method to get the length. Assign the result of this comparison to is_length_equal.
str1 = 'hello' str2 = 'world'
is_length_equal =
print(is_length_equal)
Python
Setting up Python environment...
Output