The issue arises because the string you are trying to print is not a string, rather a float value. Item1, item2 and item3 are strong values (if you type some alphabets in it and not just numbers), but itemonecost, itemtwocost, and itemthreecost are explicitly type casted to float. In line 22, 23, and 24 you’re trying to print a float, by adding it with the string. One cannot add numbers to string. Rather you can type cast the itemcost to string while printing.
Add str(itemonecost) instead of itemonecost in print statement. Do this for other float variables too.
However do note that there are multiple ways to correct this issue, and I’ve just pointed one out.
        
             
        
        
        
Answer:
Explanation:
The following code is written in Java. I recreated the entire Child class as described with the instance variables and the doubleWeight method. Then created the getter and setter methods for both the weight and height variables.
class Child {
    double weight, height;
    public double doubleWeight() {
        double superWeight = weight * height;
        return superWeight;
    }
    public double getWeight() {
        return weight;
    }
    public void setWeight(double weight) {
        this.weight = weight;
    }
    public double getHeight() {
        return height;
    }
    public void setHeight(double height) {
        this.height = height;
    }
}
 
        
             
        
        
        
Social media is so powerful in this generation because it is able to reach many different corners of the world. It is not only used merely for communication but also sometimes or most of the times for business. For Lindsay, the use of social media will allow her to increase the size of the customer base. The answer is letter A. 
        
                    
             
        
        
        
<span> (keyboards, mice, scanning, computer chips)</span>
        
             
        
        
        
Answer:
92
Explanation:
int index = 1 + 6 % 3;
Modulo is calculated before adding, so as first you need to calc 6 % 3, result is 0.
int index = 1 + 0 = 1;
Indexes in arrays starts from 0, ends in length - 1. So first element in the array has 0 as index, second element has 1 as idnex, etc. Your index = 1, so value of the second element in the grades will be your result. Finally, the answer is 92.