Domanda di colloquio di Tripadvisor

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

Risposte di colloquio

Anonimo

17 mar 2020

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

Anonimo

2 feb 2013

you can find the answer on google

1