Answer:
The program in Python is as follows:
qty = int(input("Quantity: "))
price = 100 * qty
if qty >1000:
price = (100 - 0.10 * 100) * qty
print("Cost: "+str(price))
Explanation:
This prompts the user for the quantity
qty = int(input("Quantity: "))
This calculates the price or cost, without discount
price = 100 * qty
This checks if the quantity is greater than 1000
if qty >1000:
If yes, this calculates the price or cost, after discount
price = (100 - 0.10 * 100) * qty
This prints the calculated cost
print("Cost: "+str(price))
Help brainliest True or False
In Python, the first character in a string has an index position of one.
TRUE/False
Answer:
False
Explanation:
Hope this Helps! :)
Answer:
False
Explanation:
The first character in the string has an index of 0
Which item is used for formatting in responsive web design?
A.) Adding horizontal scroll
B.) Adding interesting text
C.) Improving image quality
D.) Removing horizontal scroll
Answer:
B) Adding interesting text
Explanation:
Answer:
Adding interesting text
Explanation:
Match the example with the type of collection.
{'casa': 'house'}
[3, 5]
(3, 5, 'dog')
Answer: First is a dictionary, second is a list, and third is a tuple
Explanation:
what is the binary for O?
Answer:
01001111
Explanation:
Answer:
0000 0000
Explanation:
Suponiendo que el centro de la gravedad de la barra se enchentra a 3 m del punto de apoyo,y su contrapeso, de 4800 N, se encuentra a la distancia indicada en la figura, ¿Cual deberia ser el peso de la barra para que la barrera este equilibrada?
Answer:
C
Explanation:
because...
Do you think it's better for a young designer to use free, open-source art programs or to pay for commercial programs? Explain your answer, but come up with at least one counterargument that forces you to defend your position when you explain why you think one option is better than the other.
Answer:
The young designer should use free open-source art programs for his designs. The designer can create new tools and get and update a verse collection of design tools in the software.
Explanation:
An open-source program is a software or application whose source code is available for changes, upgrade and sharing within the public.
Rather than in closed-source software where all upgrades and changes are made only by the tech-company with the license, and the expensive nature of the purchase, the open-source code programs are mostly free with a general public license.
Which was the first computer network in the world
Answer:
ARPAnet in 1969
Explanation:
hope this helps :)
Jason works for a restaurant that serves only organic, local produce. What
trend is this business following?
digital marketing
green business
e commerce
diversity
Answer:
green buisness
Explanation:
For which of the following situations would it be best to use a heuristic in order to find a solution that runs in a reasonable amount of time?
A Appending a value to a list of n elements, which requires no list elements be examined.
B Finding the fastest route that visits every location among n locations, which requires n! possible routes be examined.
c Performing a binary search for a score in a sorted list of n scores, which requires that fewer than n scores be examined.
D
Performing a linear search for a name in an unsorted database of n people, which requires that up to n entries be examined.
Answer:
The answer is "Option B".
Explanation:
In this question, determining the optimal path between several locations, which requires n!. It's also examining possible routes. It could just suggest here, designers need to do those equations as we have several forms. They have several methods to find the best and efficient path. Its basic idea is to use heuristic approaches for complex or uncertain issues so we do not provide proven solutions for linear programs.
The situation that should be best to use a heuristic in order to find a solution that runs in a reasonable amount of time is option B.
The following information should be considered:
For measuring the optimal path that lies between several locations that needs n!.It also examine the possible routes. It consist of various methods for determining the efficient path.Learn more: brainly.com/question/17429689
The role of the
protocol is to make sure communication is maintained.
FTP
IP
ТСР
HTTP
Answer:
Tcp
Explanation:
Which of the following is a palette of colors, fonts and special effects which complement one another?
O Placeholders
O Theme
O Background
Slide Masters
Answer:
Theme
Explanation:
How do you access the printing functions and settings in Outlook messages?
O Click the Print button on top of the message in the Reading Pane.
O Open the Print window under the View tab on the ribbon.
O Go to the navigation bar and click the Print icon at the bottom.
O Go to the message and access the Backstage view of the message.
Answer:
it D Go to the message and access the Backstage view of the message.
Explanation: just trust me
Which details in paragraphs 1-5 contrast with your experience and expectations?
Based on these details,what do you think the setting of the story is?
Answer:
among us
Explanation:
Based on the following passage on construction technology during the Middle Ages, why might a worker not be allowed to join a guild?
During the Middle Ages, a family worked in a trade for generations, with fathers training sons and passing knowledge along bloodlines.
Masons learned how to carve elaborate gargoyles; glaziers made intricate stained-glass windows. These skilled workers were organized into
guilds, and on a construction site, guild workers were highly esteemed while lower-level unskilled workers completed simple routine tasks.
All laborers were paid.
He did not pass the necessary exams to qualify for guild membership
He had signed a contract forgoing payment in exchange for on-the-job training.
He was not born into a family of skilled laborers
His specialty did not fall under masonry or glazing.
Answer:
He was not born into a family of skilled laborers
Explanation:
a deque is a type of collection,but it is not automatically available when you open IDLE. What is missing that allows you to use the deque class?
Answer:
Import
Explanation:
The import instruction does what it sounds like it imports a file class from file function from file it's very flexible.
The import instruction does what it sounds like it imports a file class from file function from file it's very flexible.
What is Import instructions?When you transition to Shopify from another platform or need to make several adjustments to your products or inventory, importing products into your Shopify store using a CSV file might be helpful.
The data from the CSV file is transformed into products when you import products, and you can choose whether to publish your new products to all sales channels or only your web store.
You have the ability to overwrite any existing goods with the same handle when importing a CSV file. For any columns that are absent, the current values will be used.
Therefore, The import instruction does what it sounds like it imports a file class from file function from file it's very flexible.
To learn more about CSV file, refer to the link:
https://brainly.com/question/29242949
#SPJ2
Complete the static method stringSearch, which returns a String that tells where the first occurrence of the characters (chr) were found ("The characters were found at ____ index.") or it says, "Those characters could not be found." The String to be searched (phrase) and the characters that are being looked for (chr) are passed in as arguments. (9 points) public static String stringSearch (String phrase, String chr) { ** Complete the code ** }
KeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnnKeyonnn
Answer:
Hey
Explanation:
Thank.you for your comment!
Using this feature keeps the message thread intact.
Reply
Opt out
New message
Signature
Answer:
Option 1: Reply is the correct answer.
Explanation:
Emails are used for business and official communications.
Let us look at the options one by one
Reply:
The reply option opens the email editing window. When the reply option is used the emails then are arranged in the form of a message thread. So the reply option keeps the message thread intact.
Hence,
Option 1: Reply is the correct answer.
Give two examples of search
Answer:
goo.gle and ya.hoo
Explanation:
What types of data can you filter using the
AutoFilter tool? Check all that apply.
text
numeric data
images
sound
DONE
Answer: A and B
Explanation: just did it on edge
PLS i need help - programming challenge
Write an algorithm that:
· Ask the user to input how many GCSE’s they have.
· They should then be allowed to enter a result for each GCSE grade.
· The computer should work out how many points they have got (9=9, 8=8, 7=7 etc).
· If their score is 40 or over it should output ‘You can go to the sixth form’
· If they their score between 35 and 39 it should output ‘A discussion is needed’
· Otherwise it should say ‘Sorry not enough points.’
This is written in python 3, so you need to have python and rename the file to GCSE.py
It runs in vanilla python, no addons required.
HELP ASAP! prompt what is search engine?
Answer:The search engine is a software system that is designed to search the information about anything on the world wide web.
Explanation: got it correct edge
You created a two-dimensional array with the following code.
>>> A = [21, 'dog', 'red']
>>> B = [35, 'cat', 'blue']
>>> C = [12, 'fish', 'green']
>>> E = [A, B, C]
How do you refer to 'cat'?
E[1, 2)
E[1,2]
E[1][2]
E[1,2]
Explanation:
My answer is E[1][1]
but I don't see it here
Answer:
E[1][2] that is correct I just took t
In video game development, the person who oversees and directs the entire design team and is the key vision keeper is
the
Answer:
The Lead Designer
Explanation:
The Lead designers main role is to oversee how a game looks and is played. They manage a, normally small, design team. They work with them to come up with many aspects of the game itself like; characters, props, and plots to the game. they also, makes sure that the team itself stays on track, is within budget, and meets the designated deadlines.
In this lesson you wrote code to make the turtle draw squares. Briefly describe how the code for
crawing a rectangle would be different than drawing a square. (Example rectangle at right)
Explanation:
that programming language you must use?
Menu options are usually selected by _____the mouse.
Answer:
clicking
Explanation:
right clicking the mouse
Energy requirements of analog and digital signals.
First to get the correct answer is brainliest!
Answer:
Explanation:
Analog requires more energy but I’m still trying to figure out what digital is please let me know if you found the answer
How do I do this? Can someone please tell me.
Answer:
Below is a quick example of how to do it. Note though that the instruction to output "annual rainfall to one decimal place" sounds erroneous to me, as I would expect the numbers to be entered as integers (but perhaps I'm wrong).
In my opinion it would be far more sensible to round the average to a single decimal place instead.
start a running tally at zero
set "aboveTally" to zero (this will be used to count which months are above the average)
for each month{
prompt for rainfall that month, storing it in an array
Also add that value to the running tally
}
average = tally / 12
// Output list of month's rainfalls, and get a tally of those above average
for each month{
print month + ": " + amount input for this month
if total for month > average: aboveTally++
}
//output total anual to one decimal place:
print "total anual rainfall: " + (int)(tally * 10) / 10
//output number of months above the average:
print "Number of months above averayge: " + aboveTally
Using the drop-down menu, complete these sentences to describe algorithms. Algorithms are instructions to solve a problem. Algorithms are when written in a programming language. Algorithms are step-by-step instructions for or to follow to solve a problem. Programmers use algorithms to and .
Answer:
Algorithms are instructions to solve a problem
Explanation:
Answer:
1. step by step
2. computer programs
3. a person
4. a computer
5. solve logic problems
6. start writing new programs
Explanation:
i just did it and got them all right
What are the first letters of each of the 3 main colors in javaScript? (seperate with commas)
Answer:
R, G, B
Explanation:
Red, Green, Blue