Python math


#1

when python is asking me to create a string that is the product of difficult math, how am i suppoed to come up with that number if i cannot do it in my head? for example

float_1 = 77.8
float_2 = 800.7

now it asks me to create a string that is the result of float_1 * float_2??..


#2

The previous lesson, ValueError, demonstrates how you can use the str() function to convert an int or a float to a string. In the current lesson, use that function to convert the result of the multiplication to a string. Assign that converted result to big_string.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.