Tripadvisor interview question

Transform an integer to a string using only arithmetic operations. Known in C as 'itoa'.

Interview Answers

Anonymous

17 Mar 2020

integer = 1 string = str(integer) assert len(string) == len(‘1’)

Anonymous

2 Feb 2013

you can find the answer on google

1