Answer:An electronic device for storing and processing data, typically in binary form
Explanation:
Product reviews are written by:
OA. people with specialized knowledge.
B. clever advertising copywriters.
C. consumers who may use the product.
OD. people on social networking sites.
Product reviews can be written by all of the above. People with specialized knowledge, clever advertising copywriters, consumers who may use the product and people on social networking sites can all write product reviews.
Computer viruses and coding books
Why should we consider you for full sponsorship?
I am an exceptional student with a strong academic record, highly motivated and involved in school and community activities, and have a strong work ethic.
What is a fully funded scholarshipA fully funded scholarship is an award that covers all of the costs associated with a student's education. This includes tuition, room and board, books, and any other related fees. Fully funded scholarships may be awarded by a university, a government, a foundation, or an individual donor.
They may be awarded based on a student's academic or extracurricular achievements, financial need, or a combination of both. Fully funded scholarships can be incredibly beneficial for students, as they can allow them to pursue their education without worrying about the cost.
Additionally, some scholarships may provide additional financial aid, such as mentoring programs, internships, and study abroad opportunities. By receiving a fully funded scholarship, students are given the opportunity to focus on their studies without the burden of financial difficulties.
Learn more about scholarships here:
https://brainly.com/question/28023115
#SPJ1
DUE SOON NEED HELP FAST!!
It is 6:30pm GMT, if it is 2:00PM where are you, what is your longitude?
Answer:
From 2007 to 2016 the correct answer would've been Caracas, Venezuela. With a longitude of 66° 56' W.
Their timezone at that time was GMT-4.5, which means they'd be four and a half hours behind GMT.
As of 2021, there are no countries using that timezone for international trade and travel.
Explanation:
Had to make some assumptions. If no other context is given, then this would be the correct answer.
Your company has three divisions. Each group has a network, and all the networks are joined together. Is this still a LAN?
No, this is not a LAN anymore (Local Area Network). A local area network, or LAN, is a type of network that links devices in a restricted region, like a campus or a single building.
Which kind of network connects a business?Several LANs are linked together by a WAN, or wide area network. It is perfect for businesses as they expand because it is not location-restricted in the same way that LANs are. They make it possible to communicate with various audiences and might be crucial for global businesses.
If your client just has a small number of computer units, what kind of network would you suggest?This paradigm works well in contexts where tight security is not required, such as tiny networks with only a few computers.
To know more about LAN visit:-
https://brainly.com/question/13247301
#SPJ1
Which of the following could be considered an algorithm?
directions for assembling a bicycle
the pages in a book
a file system directory
an application
F
Question 1 of 10 Which two scenarios are most likely to be the result of algorithmic bias? A. A person is rejected for a loan because they don't have enough money in their bank accounts. B. Algorithms that screen patients for heart problems automatically adjust points for risk based on race. C. The résumé of a female candidate who is qualified for a job is scored lower than the résumés of her male counterparts. D. A student fails a class because they didn't turn in their assignments on time and scored low on tests.
Machine learning bias, also known as algorithm bias or artificial intelligence bias, is a phenomenon that happens when an algorithm generates results that are systematically biased as a result of false assumptions made during the machine learning process.
What is machine learning bias (AI bias)?Artificial intelligence (AI) has several subfields, including machine learning. Machine learning relies on the caliber, objectivity, and quantity of training data. The adage "garbage in, garbage out" is often used in computer science to convey the idea that the quality of the input determines the quality of the output. Faulty, poor, or incomplete data will lead to inaccurate predictions.Most often, issues brought on by those who create and/or train machine learning systems are the source of bias in this field. These people may develop algorithms that reflect unintentional cognitive biases or actual prejudices. Alternately, the people could introduce biases by training and/or validating the machine learning systems using incomplete, inaccurate, or biased data sets.Stereotyping, bandwagon effect, priming, selective perception, and confirmation bias are examples of cognitive biases that can unintentionally affect algorithms.To Learn more about Machine learning bias refer to:
https://brainly.com/question/27166721
#SPJ9
1. What do you understand by the term Integrated Circuit? ». Describe the following widely used IC's: (i) Logic Gate IC (ii) Timer IC (iii) Operational Amplifier . State three (2) Advantages and two (2) Disadvantages of Integrated Circuit. 1. Design a logic circuit that has three inputs A, B and C, and whose output will be high only when a majority of the inputs is high Show that: (i) A+ A' B = A + B (ii) (A + B) (A + B) = A
An integrated circuit (IC) is a miniaturized electronic circuit consisting of transistors, resistors, capacitors, and other components connected together to perform a specific function.
What is electronic circuit?An electronic circuit is an interconnected network of electronic components, such as resistors, transistors, capacitors, inductors and diodes, that allows the flow of electrical current. These components are connected together with conductive wires, which allow the electrical energy to be transferred from one component to another.
(i) Logic Gate IC: A logic gate IC is an integrated circuit that performs logical operations.
(ii) Timer IC: A timer IC is an integrated circuit that provides digital timing signals for the control of electronic devices.
(iii) Operational Amplifier: An operational amplifier (op amp) is an integrated circuit that amplifies electrical signals.
Advantages of Integrated Circuits: Small size and low cost: Integrated circuits can pack a large number of components into a small space, resulting in lower costs, Improved performance.
To learn more about electronic circuit
https://brainly.com/question/24167692
#SPJ1
what is the relationship between interrupt and buffer
Answer:
Operating systems have some code called an 'interrupt handler', which prioritises the interrupts and saves them in a queue. Buffers are used in computers as a temporary memory area, and they are essential in modern computers because hardware devices operate at much slower speeds than the processor.
Four data channels (digital), each
transmitting at 1 Mbps, use a
satellite channel of 1 MHz. Design
an appropriate configuration, using
FDM.
Answer:
To configure the four 1 Mbps data channels over the 1 MHz satellite channel using Frequency Division Multiplexing (FDM), each of the four channels should be allocated 250 kHz of bandwidth. The total bandwidth of the four channels combined is then 1 MHz, which matches the capacity of the satellite channel. The resulting frequency division multiplexing configuration will thus consist of four different channels separated by 250 kHz each, allowing each channel to transmit data at 1 Mbps
Explanation:
How is the query wizard used on a table?
The query wizard is a tool in database management systems that helps users create queries to retrieve specific data from a table. Here are the steps to use the query wizard on a table:
1. Open the database management system, such as Microsoft Access.
2. Open the table you want to query.
3. Locate the "Query Wizard" option, which is typically found in the toolbar or menu.
4. Click on the "Query Wizard" option to launch the wizard.
5. Follow the instructions provided by the query wizard.
6. Select the fields you want to include in your query from the available options.
7. Choose the criteria you want to use to filter the data. This can be based on specific values, ranges, or conditions.
8. Specify the sorting order for the query results, if desired.
9. Name the query and choose whether to immediately view the results or modify the design of the query further.
10. Click "Finish" or "OK" to generate the query and view the results.
By using the query wizard, you can easily create and customize queries without needing to write complex SQL statements manually. It provides a user-friendly interface to guide you through the process of querying a table.
For more such questions wizard,Click on
https://brainly.com/question/30670647
#SPJ8
Question One
a) The research department of De-mod Limited has developed a software at a cost of ten million cedi that is a game changer. In other to ensure total ownership and control of the software, you have been consulted to provide an advice on what De-mod Limited can do to maintain absolute ownership and control of the newly developed software.
With the knowledge you have acquired in this course, examine at least three protections for developers of computer software, stating the merits and demerits of each EV(7Marks)
The three protections for developers of computer software, are:
Patents Copyright and Trade secretsTrademarks.What are the different kinds of protection of computer software?The principal modes of protection of software is known to be copyright and patents. Copyright is said to be used a lot so as to protect computer program, this is due to the fact that writing of a code is one that tends to be similar to any other kinds of literary work.
Patents are known to be exclusive right of a person to make or produce, use their invention and thus The three protections for developers of computer software, are:
Patents Copyright and Trade secretsTrademarks.Note that the use of patent and copyright benefits a person as it tends to give them the power over their products and services.
Learn more about computer software from
https://brainly.com/question/1538272
#SPJ1
The nth Fibonacci number Fn is defined as follows: F0 = 1, F1 = 1 and Fn = Fn−1 + Fn−2 for n > 1.
In other words, each number is the sum of the two previous numbers in the sequence. Thus the first several Fibonacci numbers are 1, 1, 2, 3, 5, and 8. Interestingly, certain population growth rates are characterized by the Fibonacci numbers. If a population has no deaths, then the series gives the size of the poulation after each time period.
Assume that a population of green crud grows at a rate described by the Fibonacci numbers and has a time period of 5 days. Hence, if a green crud population starts out as 10 pounds of crud, then after 5 days, there is still 10 pounds of crud; in 10 days, there is 20 pounds of crud; in 15 days, 30 pounds of crud; in 20 days, 50 pounds of crud, and so on.
Write a program that takes both the initial size of a green crud population (in pounds) and some number of days as input from the keyboard, and computes from that information the size of the population (in pounds) after the specified number of days. Assume that the population size is the same for four days and then increases every fifth day. The program must allow the user to repeat this calculation as long as desired.
Please note that zero is a valid number of days for the crud to grow in which case it would remain at its initial value.
You should make good use of functions to make your code easy to read. Please use at least one user-defined function (besides the clearKeyboardBuffer function) to write your program.
basically I've done all the steps required except the equation in how to get the final population after a certain period of time (days). if someone would help me with this, I'll really appreciate it.
In Python, it can be expressed as follows. Using the recursive function type, we find the sum of the previous term and the sum of the two previous terms.
Python:x=int(input("Initial size: "))
y=int(input("Enter days: "))
mod=int(y/5)-1
def calc(n):
gen_term = [x,2*x]
for i in range(2, n+1):
gen_term.append(gen_term[i-1] + gen_term[i-2])
return gen_term[n]
if(mod==0):
print("After",y,"days, the population is",x)
else:
print("After",y,"days, the population is",calc(mod))
A motor takes a current of 27.5 amperes per leaf on a 440-volt, three-phase circuit. The power factor is 0.80. What is the load in watts? Round the answer to the nearer whole watt.
The load in watts for the motor is 16766 watts
To calculate the load in watts for the given motor, you can use the following formula:
Load (W) = Voltage (V) × Current (I) × Power Factor (PF) × √3
In this case:
Voltage (V) = 440 volts
Current (I) = 27.5 amperes per phase
Power Factor (PF) = 0.80
√3 represents the square root of 3, which is approximately 1.732
Now, plug in the values:
Load (W) = Voltage (V) × Current (I) × Power Factor (PF) × √3
Load (W) = 440 × 27.5 × 0.80 × 1.732
Load (W) = 16765.7 watts
Rounded to the nearest whole watt, the load is approximately 16766 watts.
Know more about the motor here :
https://brainly.com/question/29713010
#SPJ11
On page 104, of Think Like a Computer Scientist, you learned about paired data. With paired data, you can use a for loop with two index variables to iterative through the data. In this exercise you will create a turtle drawing using pairs of data, where the first item of the pair is the distance to move forward , and the second item is the angle to turn.. Set up a list of pairs so that the turtle draws a house with a cross through the center, as show here. This should be done without going over any of the lines / edges more than once, and without lifting your pen.
Your first pair of data will be (100,135). In a list this will look like ls = [ (100, 135) ] Then you need to add the other pairs for the remaining lines and angles. The 100 represents the distance forward the turtle will travel. The 135 represents the angle the turtle will turn left.
Screen capture of run of program showing house figure
Hint: Your first line should be the bottom line. Then turn left 135 degrees and go forward. You may wish to create the drawing without the list first, then substitute a list and a for loop for the distances and angles.
Use two functions: a main() function that sets up screen and turtle objects, and a drawhouse() function that takes a turtle object as an argument.
Includes comments at the top to identify file name, project and a brief description.
For further documentation, include comment for each section of code. Write in Python asap
Answer:
import turtle
def drawhouse(t):
# find the length of diagonal of a square with side = 100
# formula: diagonal = sqrt(2) * side
diagonal = 100 * (2 ** 0.5)
data = [(100, 135), (diagonal, -135), (100, -135), (diagonal, -135), (100, -45), (diagonal / 2, -90),
(diagonal / 2, -45), (100, 0)]
for dist, angle in data:
t.forward(dist)
t.left(angle)
def main():
t = turtle.Turtle()
drawhouse(t)
turtle.done()
main()
HELP
What are glue languages?
A) coding languages
B) C++
C) Java
D) scripting languages
Answer:
First of all, A programming language known as "glue language" is created especially for managing and writing code that joins various software components.
Explanation:
The answer would be Option number "A" because it says coding languages.
please give me a crown for this pleaseee
A person can only give blood to someone with compatible blood antigens. If a person receives blood from someone with an incompatible blood type, it can cause a life threatening immune system reaction. The blood transfusion will likely fail.
Your program should ask a user’s blood type first, then if she/he want to learn about giving or receiving blood. Based on the blood type and choice of give or receive, your program will print the corresponding compatible blood types.
NOTE, if the blood type or give/receive choice entered doesn’t exist, the program should promote the user to re-enter it again.
An installation consists of a 30-kva, 3-phase transformer, a 480-volt primary, and a 240-volt secondary.
The largest standard-size circuit breaker permitted for primary-only protection to be used without applying Note 1 of Table 450.3(B) is 45 A
How to solvePrimary only protection 3-phase
I = 3 phase kVA / ( 1.723 * V)
I = 30000 / ( 1.732 * 480 ) = 36.085 A
Table 450.3(B)
Currents of 9A or more column
primary only protection = 125%
Max OCPD pri = 125% of I = 1.25 * 36.085 = 45.11 A
Table 450.3(B) Note 1 does not apply, use the next smaller Table 240.6(A)
Next smaller = 45 A
Read more about volts here:
https://brainly.com/question/1176850
#SPJ1
An installation consists of a 30-kVA, 3-phase transformer, a 480-volt primary, and a 240-volt secondary. Calculate the largest standard size circuit breaker permitted for primary-only protection to be used without applying Note 1 of Table 450.3(B).
What feature allows a person to key on the new lines without tapping the return or enter key
The feature that allows a person to key on new lines without tapping the return or enter key is called word wrap
How to determine the featureWhen the current line is full with text, word wrap automatically shifts the pointer to a new line, removing the need to manually press the return or enter key.
In apps like word processors, text editors, and messaging services, it makes sure that text flows naturally within the available space.
This function allows for continued typing without the interruption of line breaks, which is very helpful when writing large paragraphs or dealing with a little amount of screen space.
Learn more about word wrap at: https://brainly.com/question/26721412
#SPJ1
Which type of account is required to utilize the Office Presentation Service?
O a local user account
O an Office 365 account
O a domain user account
O a Microsoft account
Answer:
D. a Microsoft Account
Explanation:
You can deliver a document from Word using the Office Presentation Service, a free, public service that allows others to follow along in their web browser. No setup is required. Use your free Microsoft account to get started.
It Is Called Powerpoint
Answer:
Explanation: edge 2022
What is the best way to deal with a spam
Simply ignoring and deleting spam is the best course of action. Avoid responding to or engaging with the spam communication because doing so can let the sender know that your contact information is still live and invite additional spam in the future. Additionally, it's critical to mark the email as spam using your email program or by reporting it to the relevant authorities. Make careful to report the spam to the proper authorities for investigation if it appears to be a phishing scheme or contains hazardous content.
when you look directly at a camera lens, it may seen like there is only one lens, but entering light actually passes through a series of lenses, or_____, that bend the light and send it on its way to be focused on the film or digital. chip
Frame
Optics
Flash
SD cARD
Answer:
The answer should be optics...
Explanation:
If aa person is known to have look at a camera lens straight and light passes via a number of lenses, or Optics.
What is Optics?This is known to be an aspect of physics that looks at the attributes and properties of light, such as its relationship with matter, etc.
Therefore, If a person is known to have look at a camera lens straight and light passes via a number of lenses, or Optics.
Learn more about Optics from
https://brainly.com/question/18300677
#SPJ9
How can we avoid falling victim to a phishing or pharming scheme
Answer:
First of all, to avoid phishing check the URL box in your browser, and check the original destination if there are typos in the URL high chance of a phishing attack. Also in the website check out for typos and check for any suspicious activity in the website.
House real estate summary Sites like Zillow get input about house prices from a database and provide nice summaries for readers. Write a program with two inputs, current price and last month's price (both integers). Then, output a summary listing the price, the change since last month, and the estimated monthly mortgage computed as (current_price * 0.051) / 12. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: print('{:.2f}'.format(your_value)) Ex: If the input is: 200000 210000 the output is: This house is $200000. The change is $-10000 since last month. The estimated monthly mortgage is $850.00.
Answer:
current_price = int(input("Enter the current price: "))
last_months_price = int(input("Enter the last month's price: "))
print("This house is $" + str(current_price))
print("The change is $" + str(current_price - last_months_price) + " since last month")
print("The estimated monthly mortgage is ${:.2f}".format((current_price * 0.051) / 12))
Explanation:
Ask the user to enter the current price and last month's price
Print the current price
Print the change in the price, subtract the last month's price from the current price
Print the estimated monthly mortgage, use the given formula to calculate, in required format
Order the steps to access the Spell Checker pane.
Click on the Review tab.
Click on the Spelling button.
Navigate to the Proofing group.
The Order of the steps to access the Spell Checker pane is:
Click on the Review tab.
Navigate to the Proofing group.
Click on the Spelling button.
What is the order?In Microsoft Word and additional identical program, the Review tab is a ticket situated favorable of the screen, occasionally close tabs to a degree Home, Insert, and Page Layout.
In Clicking on the Review label will take you to the portion of the program that holds forms for inspecting and rewriting your document.
Learn more about Spell Checker pane from
https://brainly.com/question/14307537
#SPJ1
https://www.celonis.com/solutions/celonis-snap
Using this link
To do this alternative assignment in lieu of Case 2, Part 2, answer the 20 questions below. You
will see on the left side of the screen a menu for Process Analytics. Select no. 5, which is Order
to Cash and click on the USD version. This file is very similar to the one that is used for the BWF
transactions in Case 2, Part 2.
Once you are viewing the process analysis for Order to Cash, answer the following questions:
1. What is the number of overall cases?
2. What is the net order value?
Next, in the file, go to the bottom middle where you see Variants and hit the + and see what it
does to the right under the detail of variants. Keep hitting the + until you see where more than a
majority of the variants (deviations) are explained or where there is a big drop off from the last
variant to the next that explains the deviations.
3. What is the number of variants you selected?
4. What percentage of the deviations are explained at that number of variants, and why did you
pick that number of variants?
5. What are the specific variants you selected? Hint: As you expand the variants, you will see on
the flowchart/graph details on the variants.
6. For each variant, specify what is the percentage of cases and number of cases covered by that
variant? For example: If you selected two variants, you should show the information for each
variant separately. If two were your choice, then the two added together should add up to the
percentage you provided in question 4 and the number you provided in question 3.
7. For each variant, how does that change the duration? For example for the cases impacted by
variant 1, should show a duration in days, then a separate duration in days for cases impacted
by variant 2.
At the bottom of the screen, you see tabs such as Process, Overview, Automation, Rework, Benchmark,
Details, Conformance, Process AI, Social Graph, and Social PI. On the Overview tab, answer the
following questions:
8. In what month was the largest number of sales/highest dollar volume?
9. What was the number of sales items and the dollar volume?
10. Which distribution channel has the highest sales and what is the amount of sales?
11. Which distribution channel has the second highest sales and what is the amount of sales?
Next move to the Automation tab and answer the following questions:
12. What is the second highest month of sales order?
13. What is the automation rate for that month?
Nest move to the Details tab and answer the following questions:
14. What is the net order for Skin Care, V1, Plant W24?
15. What is the net order for Fruits, VV2, Plant WW10?
Next move to the Process AI tab and answer the following questions:
16. What is the number of the most Common Path’s KPI?
17. What is the average days of the most Common Path’s KPI?
18. What other information can you get off this tab?
Next move to the Social Graph and answer the following questions:
19. Whose name do you see appear on the graph first?
20. What are the number of cases routed to him at the Process Start?
1. The number of overall cases are 53,761 cases.
2. The net order value of USD 1,390,121,425.00.
3. The number of variants selected is 7.4.
4. Seven variants were selected because it provides enough information to explain the majority of the deviations.
5. Seven variants explain 87.3% of the total variance, including order, delivery, credit limit, material availability, order release, goods issue, and invoice verification.
10. January recorded the highest sales volume, with 256,384 items sold for USD 6,607,088.00. Wholesale emerged as the top distribution channel, followed by Retail.
12. December stood out as the second-highest sales month,
13. with an automation rate of 99.9%.
14. Notable orders include Skin Care, V1, Plant W24 (USD 45,000.00) and
15. Fruits, VV2, Plant WW10 (USD 43,935.00).
17. The most common path had a KPI of 4, averaging 1.8 days.
18. This data enables process analysis and improvement, including process discovery, conformance, and enhancement.
19. The Social Graph shows Bob as the first name,
20. receiving 11,106 cases at the Process Start.
1. The total number of cases is 53,761.2. The net order value is USD 1,390,121,425.00.3. The number of variants selected is 7.4. The percentage of the total variance explained at 7 is 87.3%. Seven variants were selected because it provides enough information to explain the majority of the deviations.
5. The seven specific variants that were selected are: Order, Delivery and Invoice, Check credit limit, Check material availability, Order release, Goods issue, and Invoice verification.6. Below is a table showing the percentage of cases and number of cases covered by each variant:VariantPercentage of casesNumber of casesOrder57.2%30,775Delivery and Invoice23.4%12,591Check credit limit5.1%2,757
Check material availability4.2%2,240Order release4.0%2,126Goods issue2.4%1,276Invoice verification1.7%9047. The duration of each variant is as follows:VariantDuration in daysOrder24Delivery and Invoice3Check credit limit2Check material availability1Order release2Goods issue4Invoice verification1
8. The largest number of sales/highest dollar volume was in January.9. The number of sales items was 256,384, and the dollar volume was USD 6,607,088.00.10. The distribution channel with the highest sales is Wholesale and the amount of sales is USD 3,819,864.00.
11. The distribution channel with the second-highest sales is Retail and the amount of sales is USD 2,167,992.00.12. The second-highest month of sales order is December.13. The automation rate for that month is 99.9%.14. The net order for Skin Care, V1, Plant W24 is USD 45,000.00.15.
The net order for Fruits, VV2, Plant WW10 is USD 43,935.00.16. The number of the most common path’s KPI is 4.17. The average days of the most common path’s KPI is 1.8 days.18. Additional information that can be obtained from this tab includes process discovery, process conformance, and process enhancement.
19. The first name that appears on the Social Graph is Bob.20. The number of cases routed to Bob at the Process Start is 11,106.
For more such questions deviations,Click on
https://brainly.com/question/24251046
#SPJ8
Python programming using def function
Give the user a math quiz where they have
to subtract 2-digit integers. Present them
like this: 67 - 55.
Each time, tell the user whether they are
correct or incorrect. Continue presenting
problems to them until they enter a zero to
quit. At the end print the number right,
the number wrong, and the percent right.
Explanation:
For this program we'll need to know a couple concepts which are: while loops, user input, variables, converting strings to integers, and basic arithmetic operators, if statements, and the random module.
So let's first just declare the basic function, we can call this "main", or something a bit more descriptive, but for now I'll name it "main".
def main():
# code will go here
main()
so now from here, we want to initialize some variables. We need to somehow keep track of how many they get correct and how many they've answered.
These two numbers may be the same, but at times they will be different from each other, so we'll need two variables. Let's just call the variable tracking how much have been answered as "answered" and the variable tracking how much are correct as "correct".
These two will initially be zero, since the user hasn't answered any questions or gotten any correct. So now we have the following code
def main():
correct = 0
answered = 0
main()
Now let's use a while loop, which we break out of, once the user inputs zero. This may be a bit tricky if we use a condition since we'll have to ask for input before, so let's just use a while True loop, and then use an if statement to break out of it at the end of the loop.
Now we want to generate two numbers so we can use the random module. To access the functions from the random module you use the import statement which will look like this "import random". Now that you have access to these functions, we can use the randint function which generates random numbers between the two parameters you give it (including those end points). It says two digits, so let's use the endpoints 10 and 98, and I'll explain later why I'm limiting it to 98 and not 99.
The reason we want to limit it to 98 and not 99, is because it's possible for the two randomly generated numbers to be equal to each other, so the answer would be zero. This is a problem because the zero is used to quit the program. So what we can do in this case, is add one to one of the numbers, so they're no longer equal, but if they're equal to 99, then now we have a three digit number.
Now onto the user input for simplicitly, let's assume they enter valid input, all we have to do is store that input in a variable and convert it into an integer. We can immediately convert the input into an integer by surrounding the input by the int to convert it.
we of course want to display them the equation, and we can either do this through string concatenation or f-strings, but f-strings are a bit more easier to read.
So let's code this up:
import random
def main():
correct = 0
answered = 0
while True:
num1 = random.randint(10, 98)
num2 = random.randint(10, 98)
if num1 == num2:
num2 += 1
userInput = int(input(f"{num1} - {num2}"))
main()
from here we first need to check if they entered zero and if so, break out of the loop. If they didn't enter zero, check if the userInput is equal to the actual answer and if it is, then add one to correct and finally add one to answered regardless of whether their answer is correct or not.
Outside the loop to display how much they got correct we can use an f-string just like we did previously. Since sometimes we'll get a non-terminating decimal, we can use the round function so it rounds to the nearest hundreth.
So let's code this up:
import random
def main():
correct = 0
answered = 0
while True:
num1 = random.randint(10, 98)
num2 = random.randint(10, 98)
if num1 == num2: # the answer would be zero
num2 += 1 # makes sure the answer isn't zero
userInput = int(input(f"{num1} - {num2}"))
if userInput == 0: # first check if they want to stop
break
if userInput == (num1 - num2):
correct += 1
answered += 1
print(f"Correct: {correct}\nIncorrect: {answered - correct}\nPercent: {round(correct/answered, 2)}")
main()
and that should pretty much be it. The last line is just some formatting so it looks a bit better when displaying.
what are the steps, in order, that jonah to follow the view the “Renaissance” report?
Answer:
sy org Indonesia yaaa hallloooo
Give an example of a class and an example of an object. Describe what a class is, what an object is, and how they are related. Use your examples to illustrate the descriptions.
Answer:
Science. Science is where you learn about the worlds enviroment.
Book. A Book is a object that has words in it that you can read. It has sometimes thick pages or thin pages.
Why are floppy disks obsolete ?
Answer:
they don't have enough space on them to carry useful information, and because most computers no longer have a drive for them. This is true for most legacy items