subject

Please complete the following questions. It is important that you use complete sentences and present the questions and answers when you submit your work. 1.Give several reasons why Python is such a great programming language. Explain how Python is related to flowcharts.

2.Consider this program:
Cost1 = input("Please enter the first expense: ")

Cost2 = input("Please enter the second expense: ")

print("Your total for both expenses was", Cost1 + Cost2)

3.If the user inputs “10” for the first expense and “20” for the second expense, what will the interpreter show in the final line when this program is run? If this result in not what the programmer intended, how would you explain what went wrong?

4.You are writing a line of code that should ask the user to input the balance of their bank account in dollars and cents. The program will then perform a multiplication problem to tell the user how much interest they can earn. Identify three errors in your line of input code and explain why they are incorrect. Include the corrected line of code in your answer. Here is the code:
1num = input(What is your balance?)

5.What are some kinds of comments that might be useful for a programmer to include in a program?
If you were planning how to write a program, at what point would a flowchart be helpful? At what point would pseudocode be helpful? Explain your reasoning.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:40
Solve the following javafx application: write a javafx application that analyzes a word. the user would type the word in a text field, and the application provides three buttons for the following: - one button, when clicked, displays the length of the word.- another button, when clicked, displays the number of vowels in the word.- another button, when clicked, displays the number of uppercase letters in the word(use the gridpane or hbox and vbox to organize the gui controls).
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
question
Computers and Technology, 24.06.2019 01:10
Create a program that will take in a single x and y coordinate as the origin. after the input is provided, the output should be all of the coordinates (all 26 coordinates read from the “coordinates.json” file), in order of closest-to-farthest from the origin.
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
3. what do the terms multipotentialite, polymath, or scanner mean?
Answers: 2
You know the right answer?
Please complete the following questions. It is important that you use complete sentences and present...
Questions
question
Mathematics, 02.02.2020 21:54
question
History, 02.02.2020 21:54
question
Mathematics, 02.02.2020 21:54
question
Social Studies, 02.02.2020 21:54
Questions on the website: 13722360