Enthsquare Interview Question

Asked to reverse a string

Interview Answer

Anonymous

Nov 17, 2019

s = "abc" s.reverse() Or s[::-1]