def reverse(s): if len(s)%4==0: print(s[::-1]) else: print("it is not a multiple of 4") str=input("enter a string:") reverse(str)