I need it in code please (python)

I Need It In Code Please (python)

Answers

Answer 1
python coded) pythooonn
Answer 2

Answer:

def main():

 n = int(input("Enter a number to find its sum! "))

 sum = int((n*(n+1)) / 2)

 print(str(sum))

main()

Explanation:

Here is some code I quickly came up with, you can rehash it for your liking.

I basically took this formula and translated it into python code on line 3. Make sure you use paratheses correctly when translating forumlas or any equation, Order of Operations is everything.

Lmk if this helped!

I Need It In Code Please (python)

Related Questions

To use AutoSum with a row of four values, where must your cursor be to have the sum appear in the row if you have not highlighted the cells?

Answers

Answer:

on the first empty cell to the right of the last cell containing a value.

Explanation:

The AutoSum function in excel gives a shortcut path to taking the sum of numeric values in a row or column of data. The Autosum uses the sum function to take the addition of all the desired rows or columns values without needing to make a manual highlight of the data. To use AutoSum with a row of 4 values, the cursor must be placed immediately at the cell next 4th row cell containing a value. This is equivalent to the first empty cell to the right of the last cell containing a value, then autosum is clicked in the home tab and all 4 cells will be highlighted as it uses the sum function to calculate the sun of the 4 row values.

The Autosum Excel function could be made accessible with ALT+ the = sign, and the formula is automatically created to add a continuous range of all numbers.

The AutoSum function in Excel provides a shortcut to the sum of numerical values in a data line or column. To add all the desired lines or column values the Autosum uses the total function without having to make a manual highlight. The cursor must immediately be placed in the fourth cell next row containing a value to use AutoSum with a round of 4 values. The first empty cell to the right of the latter cell with a value is equal to that of the auto-sum, then the domestic tab clicks on auto-sum, and the sum function is used to calculate the sun of the four-row values to highlight all 4 cells.

Therefore, the final answer is "on the first empty cell to the right side of the last cell with value".

Learn more:

brainly.com/question/11507998

Create a class named Employee. The class must contain member variables for the employee name and salary. It should contain getter methods for returning the name and salary. It should also contain setter methods for storing the name and salary. The class must include a constructor method for setting both the name and the salary. In addition, it should contain a toString() method.2- Create the client code to test the class Employee.

Answers

Answer:

Explanation:

The following code was written in Java. The code contains the Employee class which contains the two variables (name, salary), the constructor, getter and setter methods for both variables, and an overwritten toString method. It also contains a tester class with the main method inside and creates a Employee object and initializes it. Then it calls the toString method. The output can be seen in the attached image below. Due to technical difficulties I have added the code as a txt file below.

Evie clicks through her presentation slides and realizes they all have transition effects coming from the same location, from the bottom up. She wants to change some of the slides to have transition effects from different locations. What steps can she take change slide transition effects

Answers

Answer:

1) Choose Slide

2) Transition Tab

3) Transition To This Slide

4) Select New Transition

Explanation:

There are 4 main steps that Evie needs to take in order to accomplish this. First, she needs to choose the slide that she wants to apply the transition to. Secondly, she needs to click on the Transitions Tab at the top of the application. Thirdly, she needs to go to the "Transition to this Slide" section of the tab. Lastly, she needs to choose one of the available animation/transitions from the list of options. This will apply that transition effect to that slide, so that when she switches to that slide it performs the animation.

Answer:

Transition Tab > Transition To This Slide > Select New Transition

Explanation:

For functional programming languages, the scope of a local name Group of answer choices is always the entire program. starts immediately at the point when the name is declared. is in the body part of the declaration or definition. is exactly same as object-oriented programming languages such as C++.

Answers

Answer:

in the body part of the declaration or definition

Explanation:

In functional programming the scope of a variable is in the body part of the declaration or definition. Meaning that as soon as it is declared, whatever body it is in can call and use that variable but not any code outside of that body. For example, in the below code variable (var1) is declared inside func1 and therefore can be used by any code inside the body of func1 but not by code inside func2 since it is outside the body of func1.

void func1() {

int var1;

}

void func2() {

var1 = 2 // This will not work, since var1 is only available in func1()

}

(4 marks)
(d) Outline the steps involved in inserting a picture from a file in a word processing document using
copy and past

Answers

Answer:

HELLO IAM LOKESH IAM NEW PLEASE SUPPORT ME

Imagine a typical website that works as a storefront for a business, allowing customers to browse goods online, place orders, review information about past orders, and contact the business. What would a testing process for a website like that look like?

Answers

Answer: See explanation

Explanation:

Following the information given in the question, the testing process for the website will include testing the links that are on the site.

Another that ng to test is to check if the menus and the buttons are working properly. Furthermore, the layout should be ensured that it's consistent as well as the ease with which the website can be used.

What does the AVERAGE function calculate? the total sum of a list of values the arithmetic mean of a list of values the total number of values in a list the percentage of values in a list

Answers

Answer:

B) the arithmetic mean of a list of values

Explanation:

on Edge

The Average function calculates the arithmetic mean of a list of values. Therefore, option B is the correct option.

What is the average?

In its most general definition, an average can be considered as the representative number or figure from the whole list. The average of a list containing multiple values is obtained by adding all the values and dividing them up by the total number of values.

The ultimate objective of calculating the average is to discover the value that represents the whole list. Average is also known as mean, and it works as a central value in the list, which is comprehensive in nature. It works as an approximate or rough estimate, which helps us in making decisions in daily life.

Thus, the average function calculates the arithmetic mean of a list of values. Therefore, option B is the correct option.

To learn more about the average, visit the link below:

https://brainly.com/question/11265533

#SPJ2

ITING THE ANSWER
1. According to Turner and Wilson (2018), Information Literacy consists of
tasks EXCEPT...
A applying previous knowledge.
C. finding appropriate information
B. determining information need.
2. Outlining your problem, developing research questions, selecting keywords a
developing concept charts are activities during...
D. using information ethically
A. communicating information.
B. determining information need.
C. evaluating search results.
D. finding appropriate resources,
3. Asking questions such as what, why, where and how is an effective way to
A. craft your research questions.
B. develop good keywords
C. find good information
D. understand your topic,
4. In asking "what" questions, you intend to find...
A. answers and solutions.​

Answers

Answer:

Answer my first question

rules used in naming variables in object oriented programming​

Answers

Answer:

Explanation: Name your variables based on the terms of the subject area, so that the variable name clearly describes its purpose.

When a Select Case statement executes, the value of the test expression is compared with the values that follow each of the _______ keywords.

Answers

Answer:

Case

Explanation:

In Computer programming, a variable can be defined as a placeholder or container for holding a piece of information that can be modified or edited.

Basically, variable stores information which is passed from the location of the method call directly to the method that is called by the program.

For example, they can serve as a model for a function; when used as an input, such as for passing a value to a function and when used as an output, such as for retrieving a value from the same function. Therefore, when you create variables in a function, you can can set the values for their parameters.

A Select Case statement can be defined as a conditional statement that avails software developers or programmers the ability to test a variable by comparing it with a list of values.

In a Select Case statement, each variable is referred to as a Case.

Generally, when a Select Case statement executes, the value of the test expression is compared with the values that follow each of the Case keywords.

In cell K8, create a formula using the SUM function that calculates the total of the range D17:D20 and subtracts it from the value in cell J8.

Answers

Answer:

so like what are you asking for so i can help u just tell me what u need and i will help u :)

Explanation:

Daniella is configuring a Wi-Fi network in a restaurant for access by staff and customers. How far does WiFi, the broadband wireless technology that allows computers and other devices to communicate over a wireless signal typically travel indoors in the form of radio waves?
a. 1000 feet
b. 300 feet
c. 120 feet
d. 500 feet

Answers

Answer:

c. 120 feet

Explanation:

WiFi can be defined as a wireless local area network that allows network devices such as access points (APs), computers (both laptops and desktops), smartphones, smart televisions, etc., to communicate with each other wirelessly over a short-ranged network. It is a standard communication network that uses radio waves to establish a channel (medium) between multiple network devices.

This ultimately implies that, the network range or distance covered by WiFi is largely dependent on transmission power and frequency. The standard range or distance covered by WiFi is about 50 meters (160 feet).

Hence, a WiFi traveling indoors in the form of radio waves and operating on the 2.4 GHz band would cover up to a distance of 150 feet. Also, a WiFi can reach or travel up to 300 feet outdoors.

In this scenario, the WiFi network Daniella is configuring in a restaurant for access by staff and customers can go as far as 120 feet indoors.


Which application-testing technique is the most likely to uncover improper input handling?

Answers

Answer:

Fuzzing provides a large amount of input data, even invalid data, to an application in order to observe its behavior. the idea is to ensure that the application is stable and secure with its input and error handling.

Explanation:

Write a program that asks the user for the name of their dog, and then generates a fake DNA background report on the pet dog. It should assign a random percentage to 5 dog breeds (that should add up to 100%!)

Answers

Answer:

Code:

import java.util.*;

public class Main{

public static void main(String []args){

 

Scanner sc = new Scanner(System.in);

System.out.println("What is your dog's name?");

// Entering name of dog

String name = sc.nextLine();

 

System.out.println("Well then, I have this highly reliable report on " + name + "'s prestigious background right here.");

 

System.out.println("\n\nSir " + name + " is\n\n");

 

//Generating random numbers

Random ran = new Random();

int sum = 0;

int a = 0;

int b = 0;

int c = 0;

int d = 0;

int e = 0;

while(sum != 100)

{

a = ran.nextInt(100);

b = ran.nextInt(100-a);

c = ran.nextInt(100-b);  

d = ran.nextInt(100-c);

e = ran.nextInt(100-d);

sum = a + b+ c + d + e;

}

 

System.out.println(a + "% St. Bernard");

System.out.println(b + "% Chihuahua");

System.out.println(c + "% Dramatic RedNosed Asian Pug");

System.out.println(d + "% Common Cur");

System.out.println(e + "% King Doberman");

 

System.out.println("\n\nWow, that's QUITE the dog!");

 

}

}

You are hired as an IT consultant for the government owned mobile operating company, Teletalk. Based on the following scenario, make a report for the decision makers to resolve the stated problems.
Despite aggressive campaigns to attract customers with lower call rates and internet packages, Teletalk has been losing a large number of its subscribers (users). Management wants to know why so many customers are leaving Teletalk and what can be done to attract them back. Are customers deserting because of poor customer service, uneven network coverage, wireless service charges, or competition from other mobile operators with extra services (GP/BL)? How can the company use information systems to help find the answer? What management decision could be made using information from these systems? What competitive strategy Teletalk can develop using information systems and how?

Answers

Answer:

An IT consulting report may be a transcript created via an IT professional that addresses all the possible aspects of an enterprise or a corporation. It is often an aggressive analysis report, Project reputation report, Business Plan report, or a Supply Chain Model file

Let's see how to write this kind of report

(1) Introduction.

(2) Point out the problems.

(3) Addressing the problems.

(4) business model and competitive analysis.

(5) Conclusion.

Explanation:

Teletalk may be a government telecommunication company. it's been going out of the marketplace for quite a little bit of time and is thanks to a scarcity of human resources and innovative applications within the field.

The company uses outdated Customer Management Systems (CMS) now so as to research potential customers and gather information about them. they need to be battling retaining customers after a brief period of your time. Their customer service isn't fair and therefore the customers aren't satisfied with the service provided by the corporate.

In order to function well, they need to implement enterprise resource planning ( ERP) data systems.

A data system is everything starting from Human resources to hardware and software. they will be applied everywhere from Customer Retainment and Engagement they're termed as Customer Management Systems and if it's wont to Business Model of any organization then it's referred to as Enterprise Resource Planning Systems (ERP).

By incorporating information systems in teletalk there is often a performance improvement in Sales, Management, Technology, and D-S (Demand-Supply Model).

All these are going to be an excellent advantage to teletalk so teletalk should anticipate innovating the present system with a more reliable and efficient one

Write a program that asks a user to enter a date in month day year format (for example 10 12 2016) and displays the day of the week for that date, in this case, Wednesday.

Answers

Answer and Explanation:

Using javascript:

function dayof_theweek(){

var TodayDate = window. prompt("enter today's date in the format 'year, month, day' ");

var Datenow=new date(TodayDate);

var Dayofweek=Datenow.getday();

var Days=["monday","Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"];

if(Dayofweek==indexOf(Days[Dayofweek]))

{

document.createTextnode(Days[Dayofweek]);

}

}

The program above uses a date object which uses the method getday to get the day of the week(get day returns an integer from 0 to 6).we then use a comparison operator == to test the condition that returned value Dayoftheweek is same with the index of the array Days and then print to a html document. The program may need improvements such as the fact that errors may arise when proper input isn't given, and therefore must be handled.

What notation requires parentheses in order to correctly define the order of computation? Group of answer choices prefix notation infix notation postfix notation all of the above

Answers

Answer:

The correct answer is Option B (infix notation).

Explanation:

The conventional format of logical as well as mathematical formulas where operators write the precise manner of infix amongst variables or the inputs is considered as Infix notation.Computer systems cannot easily be scanned like prefix and post-fix kind of notation, nevertheless owing to its convenience it has been used throughout numerous computer programs.

All other given options aren't related to the given scenario. So the above is the correct one.

Suppose you have two RAID arrays, one implementing RAID 3, the other RAID 5. Each has 9 disk drives in its array. If the RAID 5 array can read a 1 Kbyte of data in 16 ms, how long would you expect the RAID 3 array to take to read 1 Kbyte of data? Why?

Answers

Answer:

48 is the answer

Explanation:

16×3 is the explanation for your question

What should businesses do in order to remain competitive under the current Cloud
landscape?

Answers

Answer:

Cloud Landscape

They must evangelize the benefits of cloud computing to company executives in order to assist them in developing and extracting business benefits that will give them a competitive advantage and increase profits

Explanation:

The most successful organisations carefully plan out a multiyear effort to improve their cloud adoption, focusing on multiple streams of work across several stages of maturity.

Cloud computing governance is difficult even when only one cloud provider is involved, and it becomes even more difficult as organisations move toward multi cloud.

Continuous workload placement analysis involves reassessing workloads at a regular cadence, evaluating whether the current execution venue sufficiently meets the organization’s needs and if migrating to an alternative model provides higher value without adding significant risk to the organization’s operations

They must evangelize the benefits of cloud computing to company executives in order to assist them in developing and extracting business benefits that will give them a competitive advantage and increase profits.

In this question, the response is "Cloud Landscape" which can be defined as follows:

The organizations should adopt these new technologies to benefit from the digital transformation offered by the cloud.New enterprises were embracing cloud computing management strategies, placing established companies at risk.In the multi-year efforts for improving cloud security were meticulously planned by even the most successful enterprises. In several contributing to higher at various maturity levels are addressed.The multi-cloud plan enables governance of cloud computing increasingly challenging, even and there is only one cloud service provider involved in the agreement.  

Learn more:

cloud computing: brainly.com/question/16026308

In the revised version of the library system with Book and Periodical, Question 16 options: a) Book is a subclass of Periodical b) Periodical is a subclass of Book c) Book and Periodical are subclasses of LoanableItem d) Book and Periodical implement LoanableItem

Answers

Answer:

c. Book and Periodical are subclasses of LoanableItem

Explanation:

Books are kept in library in a periodical manner. Both classes are not superior, they are subclasses of LoanableItem. Library uses common guide which makes it easy to find a book.

Learning Task 3: Write the safety requirement indicated in each number on a
separate sheet of paper​

Answers

Answer:

Please find the complete question in the attached file.

Explanation:

Recall that its SIS consists of one or even more Safety - management Functions (SIFs), which can include a mixture of the device(s), logic when and), and a complete component (elements), along with all user interface as well as power sources, such that two sets of criteria are delineated for each SIF by SRS: the System Requirement Set as well as the Integrate Requisites Set.

Write a method rearrange that takes a queue of integers as a parameter and rearranges the order of the values so that all of the even values appear before the odd values and that otherwise preserves the original order of the list. For example, suppose a queue called q stores this sequence of values: front [3, 5, 4, 17, 6, 83, 1, 84, 16, 37] back Then the call of rearrange(q); should rearrange the queue to store the following sequence of values: front [4, 6, 84, 16, 3, 5, 17, 83, 1, 37] back Notice that all of the evens appear at the front of the queue followed by the odds and that the order of the evens is the same as in the original list and the order of the odds is the same as in the original list. You may use one stack as auxiliary storage.

Answers

Answer:

i got the answer

Explanation:

hope you can too

Write a C++ program that takes a single character and prints the corresponding digit on the old-style dial or touchtone telephone keypad, if it exists, or a message stating that the character does not correspond to a digit on the keypad.

Answers

Ok thanks Ianswer: c++

15) Three primary activities of a program are: A) Variables, Operators, and Key Words B) Lines, Statements, and Punctuation C) Input, Processing, and Output D) Integer, Floating-point and Character E) None of the above​

Answers

Answer:

yes sir

Explanation:

A small e-commerce company uses a series of Robotic Process Automation solutions to manage the backup of data from individual workstations to an on-premise server. However, the company is opening another office and would like to more easily share data between locations, along with better protecting the data from loss.
Which technology could be combined with their current automated processes to do this?

Answers

Answer:

Cloud.

Explanation:

Cloud computing can be defined as a form of data computing which requires the use of shared computing resources such as cloud storage (data storage), servers, computer power, and software over the internet rather than local servers and hard drives.

Generally, cloud computing offer individuals and businesses a fast, secured, effective and efficient way of providing services over the internet.

Basically, cloud computing comprises three (3) service models and these include;

1. Platform as a Service (PaaS).

2. Software as a Service (SaaS).

3. Infrastructure as a Service (IaaS).

Additionally, the two (2) main characteristics of cloud computing are;

I. Measured service: it allows cloud service providers to monitor and measure the level of service used by various clients with respect to subscriptions.

II. Resource pooling: this allows cloud service providers to serve multiple customers or clients with services that are scalable and provisional.

For example, the provisioning of On-demand computing resources such as storage, network, virtual machines (VMs), etc., so as to enable the end users install various software applications, database and servers.

Hence, the technology that could be combined by the small e-commerce company with its current automated processes is cloud storage.

There are different tools used in data sharing. The technology that could be combined with their current automated processes to do this is blockchain.

Blockchain is known to use different kinds of distributed ledger that is often shared across networked devices. Through this, people on the network can share files and values securely and even on a peer-to-peer basis. This is no need any middlemen.

Data protected in blockchain is very vital.  All records on a blockchain are known too be secured through the act of cryptography. Here, Network people do have their own private keys that are given to them for any  transactions they make.

Learn more about Blockchain from

https://brainly.com/question/25700270

On my bookshelf of paper books, I have a dictionary that consists of multiple volumes, each of which is a book. One covers A-E, another F-J, another K-M, and so on. To find a word, I look at the alphabetic ranges to find the right volume. Then I use the ranges at the top of each page to turn to the proper page. Then I find the word on the page. What is this most like?

Answers

Question options:

A. Multi-level Indexes

B. Secondary indexes

C. None the above

Answer:

A. Multi-level Indexes

Explanation:

Multi-level indexes are deep level arrays like arrays in an array. For example how we would have ripped in an array. If we select a particular element in that array, that array holds another array as we would have in the dictionary volumes that hold pages with their own indexes. If a volume A-F is an element in array then it holds pages 1,2,3,4...etc in that order.

Can a result that contains road maps for European countries have a highly meets rating

Answers

Đápán3e

Explanation:

What are the trinity of the computer system

Answers

Answer:

he Computer, the System, and the World. Simics is a great product for simulating computer systems that contain processors and execute code.

Explanation:

he Computer, the System, and the World. Simics is a great product for simulating computer systems that contain processors and execute code.

Implementing HTML best practices and writing code to match the original intentions of each element is known as __________ HTML. standard attribute-based industry semantic

Answers

Answer:

semantic

Explanation:

The description provided is describing the practice known as semantic HTML. This is basically code that provides both the user and the developer a description on what the code was originally supposed to do. For example, a method that calculates the total cost of a set of prices could be called calculateTotal(). By doing so you are describing the intention of the method clearly so that the individual using the method does not need to look at anything else to know what it does.

Implementing HTML best practices and writing code to match the original intentions of each element is known as __________ HTML.

Semantic

Based on the knowledge of semantics HTML which is a programming language used to write codes for the building blocks of any website, it gives the user and programmer the details of what the code is supposed to perform.

Furthermore, this helps them to match the original intentions of the code which helps in understanding of the code which also helps with debugging.

Therefore, the correct answer is semantic

Read more about HTML practises here:

https://brainly.com/question/19117781

Several disaster relief nonprofits want to create a centralized application and repository of information so that they can efficiently share and distribute resources related to various disasters that they may respond to together. Which of the following cloud service models would best fit their needs?

a. Public cloud
b. Private cloud
c. Multi-cloud
d. Community cloud

Answers

Answer: Community cloud

Explanation:

A community cloud is a collaborative effort whereby infrastructure is shared among different organizations from a particular community that has common concerns such as compliance, security etc.

Since several disaster relief nonprofits want to create a centralized application

in order to efficiently share and distribute resources related to various disasters that they may respond to together, then the community cloud will be useful in this regard.

Other Questions
I climbed over the brick wall. What kind of word is brick in the sentence? A determiner, a modifier, a noun, an object, or none of these? At first, I didn't have much interest in the house my great-uncle had left me. I was comfortable living in the city. When I received the deed, however, I decided that I should at least give the place a quick inspection before I sold it. When I drove up, the place looked like something out of horror movie: an old, rotting Victorian mansion with turrets and cobwebs. I stepped inside, took one look at the spooky interior and turned around to leave.Which final sentence to the paragraph would likely create the most suspense?A."Not this time, ghosts!" I shouted as I left the place.B. I then drove straight to the nearest real estate officeC. That's when I realized the door had locked behind me.D. I screamed an ran from the house as fast as I could. Which circuit has the larger equivalent resistance: a circuit with two 10 ohm resistors connected in parallel or a circuit with two 10 ohm resistors connected in series? Please hell the question is in the photo ^^ DRIVERS ED PERMIT- what are space cushions designed for? are they made so that you cant pass off and hit someone or are they made so that there cant be any crashes? In a chemical equation, the symbol that means "dissolved in water" is _____. (s) (l) (aq) (g) Which option describes an interaction in a text that you might analyze? Find the ratio of the diameter of aluminium to copper wire, if they have the same resistance per unit length. Take the resistivity values of aluminium and copper to be 2.65 108 m and 1.72 108 m respectively Consider a short story that takes place in a small seaside village during the early 1900s. The village is an example of: Falling actionThe plotConflictThe settingPENN FOSTER PLEASE HELP HELP Which of these is the best revision of the sentence?? In a birthday party, a cake was cut into 30 equal sizes pieces. At the end of the party, 8 pieces were left. What was the percentage of cake consumped? If the terminal side of an angle () goes through the point (4 , -3) what is ()? ASAP!! Photo attached A mi padre______ la comida italiana.A. te gustaB. le gustaD.me gusta what is the theory used in the united states that invlolves people giving their freedom to the government in order to protect life, liberty and personal property a. theory force b. social contract theory c. Devine right theory d. evolution theory write two properties of right angled triangle Suppose high tide is at midnight, the water level at midnight is 3 m, and the water level at low tide is 0.5 m. Assuming the next high tide will occur 12 hours later (at noon), find the time, to the nearest minute, when the water level is at 1.125 m for the second time after midnight. Look at the figure. Which step should be taken next to construct a line through point R that is perpendicular to ST ? Which of the following statements are true regarding technology, gaming, and gambling? #1. Rapid-play poker machines have increased the number of problem and pathological gamblers. #2. Online gambling has resulted in an increased number of problem and pathological gamblers. #3. There is no evidence that technology has led to an increase in the number of people with gambling or gaming addictions. #4. Electronic media is a breeding ground for new addictions, such as Internet, video games, texting, and multiplayer games. Re-write the following sentences by using the adjectives at proper places. 1. a pullover (nice/new) ______________________ 2. a box (metal/black/small) ______________________ 3. a shirt (new/green) ______________________ 4. a cat (fat/big/black) ______________________ 5. a house (beautiful/old)______________________6. a village (old/lovely/small)______________________7. a pair of gloves (black/leather)______________________8. hair (long/black/beautiful)______________________9. an film (old/American)______________________10. an umbrella (red/enormous/yellow)______________________11. a face (thin/long)______________________12. a wall (brick/red/high)______________________