asked 194k views
1 vote
Complete the code to convert a float to a string. Answer = 5. 3 stranswer = (answer).

asked
User MarcGV
by
8.1k points

1 Answer

4 votes

Answer:

str

Step-by-step explanation:

To convert a float to a string, the code would look like this:

answer = 5.3

strAnswer = str(answer)

answered
User Pamma
by
8.6k points

Related questions

1 answer
4 votes
181k views
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.