Question Description
One of the most common data types in all programming languages is Float, which represents decimal values.
Programming declares variables and specifies the data types of these variables at the beginning of a program.
However, depending on the order of operations, the output of an operation involving floating numbers might not necessarily be a floating number.
Input the following in JES or Python IDLE to see the output (hereafter, JES will be used in the course but is interchangeable to Python IDLE, whichever the student downloaded):
- print 1.0 / 3
- print 10 + 3 * 7
- print (10 + 3) * 7
Zip your
PayPal Gateway not configured
PayPal Gateway not configured