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, 25.06.2019 01:40
The instantiation of an endpoint in a potential tcp connection is know as
Answers: 1
question
Computers and Technology, 25.06.2019 14:00
The first few lines of a script that say "using" that point the code to the right groups are called
Answers: 1
question
Computers and Technology, 25.06.2019 15:00
Apicture of kitchen sink draining system
Answers: 2
question
Computers and Technology, 26.06.2019 02:00
You wish to enter your exam scores in a spreadsheet. which function will you find how each subject’s score relates to the others? the (blank) function will to identify where each subject’s score stands with respect to others.
Answers: 1
You know the right answer?
Please complete the following questions. It is important that you use complete sentences and present...
Questions
question
Social Studies, 16.11.2020 06:40
question
Mathematics, 16.11.2020 06:40
question
English, 16.11.2020 06:40
question
Mathematics, 16.11.2020 06:40
Questions on the website: 13722360