Question
How you can convert a number to a string?
Answer
In order to convert a number into a string, use the inbuilt function str(). If you want a octal or hexadecimal representation, use the inbuilt function oct() or hex().
š² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.