Sobes.tech
Intern — Middle

Reversed strings with length greater than three characters

livecode

Task condition

You need to write a function that takes a list of strings and returns a new list. In the resulting list, each string should be replaced with its reverse if its length exceeds three characters.

def reverse_when_long(strings):
    ...
Reversed strings with length greater than three… - sobes.tech