1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
dolphi86 [110]
4 years ago
8

I need help with Python. The first image is the code and the 2nd is the output.

Computers and Technology
1 answer:
Gekata [30.6K]4 years ago
4 0
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.
You might be interested in
In the 21st century organization we will see:
kykrilka [37]

Answer: All of the above

Explanation: As the technology is getting improved and advanced time to time, it will put a huge impact on various sections of organization.

The advancement in the IT infrastructures will be seen by the improvement in the software,networks, data centers, hardware etc and their functioning.This will lead increase the focus of the technology towards the IT infrastructure.

Security is the feature that requires to be developed throughout the time as hacker and attackers come up with various attacks and other malicious activity to steal the confidential data and information .Thus security constantly needs to be improved and focused which will continue to happen in 21st century.

Business of organizations are becoming online and this will tend the organizations to become more indulged online business or e-business in future as it provides more benefits and vast coverage .Thus, all the options are correct.

5 0
4 years ago
When delivering 2023 murano, demonstrate how to turn the driver assistance technologies on or off using ________.
IgorC [24]

In the case above, it is by using

  • The Driving Aids screen that is shown in the Advanced Drive-Assist Display
  • The Driver Assistance menu  seen under Settings in the Advanced Drive-Assist Display.

<h3>What are the packages is added for Murano?</h3>

Murano is known to adds a lot of feature such as new Midnight Edition package, and blackout front grille, amidst others.

Note that In the case above, it is by using

  • The Driving Aids screen that is shown in the Advanced Drive-Assist Display
  • The Driver Assistance menu  seen under Settings in the Advanced Drive-Assist Display.

Learn more about Cars from

brainly.com/question/124419

#SPJ1

3 0
2 years ago
What is a feature of Print Preview?
Leviafan [203]
D: fit to size because it has to fit whatever your putting it on
8 0
3 years ago
"an excel spreadsheet is an example of a(n ________ database."
Sonja [21]
Sometimes it is hard for some people to say thank you and to rate 5 star when correct so i will you deserve it thanks for adding a correct answer! have a great day!! 
8 0
3 years ago
Exposure value bracketing
erica [24]

Answer:

refined view is the outcome of exposure value bracketing

Explanation:

sometimes we take more than one photo at different angles to get an insight to an image. It refined the image information and a detail overview can be achieved from exposure value bracketing. The advantages of exposure value bracketing are:

  • proper exposure of pictures
  • can catered the low light situations effectively
  • refined results
  • explanatory view capturing

The dis-advantages of exposure value bracketing are:

  • huge database as we are taking multiple shots
  • Over-exposing the surroundings
5 0
4 years ago
Other questions:
  • You have been hired to set up a network for XYZ Enterprises. What factors will you consider to determine the type of network nee
    7·2 answers
  • Jason is a computer hardware engineer. His work involves assembling computers. What will Jason need to assemble a microcomputer
    11·2 answers
  • Write a program that lets the user play the game of Rock, Paper, Scissors against the computer. The program should work as follo
    13·1 answer
  • The file format that an application can always open a named collection of data on a storage medium such as a hard disk or usb fl
    13·1 answer
  • In this problem, you will write three methods to:
    12·1 answer
  • When should students practice netiquette in an online course? Check all that apply.
    9·1 answer
  • Tina has taken the time to modify font sizes and colors in a text box and would like to duplicate those settings on other text b
    12·2 answers
  • Prepare the truth table for the following boolean expressions: (A+B).(A+C).(B)
    12·1 answer
  • 1
    10·1 answer
  • On the new iOS version, can you save photos from ‘review confirmed photos’? If so, how? Thanks!
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!