Answers

Answer 1

Answer: This chapter is about variables in Python. So a variable can be any data type. And to find the datatype of a variable we need to use below code: x =10 print (type (x)) This will output: integer Now we can covert a string into integer as below:x=input("Enter X:")But above x is considered as string, and we need to convert it to integer to make use in for loop or any calculation.we can use:int(x), and this will convert x to int from string.Also, we have operators to change the variable values like =. +=, -=, /=, *= etc. So you need to remember these, and you will be up with all that is required for understanding variables. And rest is self explanatory certainly.

Explanation:

The answer is self explanatory


Related Questions

Write a function ComputeVal that takes two integer parameters and returns the product of the two parameters plus 9. Ex: ComputeVal(4, 6) returns 33.

Answers

Answer:

#include <iostream>

using namespace std;

/* Your code goes here */

int main() {

  int input1, input2;

  int result;

 

  cin >> input1;

  cin >> input2;

 

  result = ComputeNum(input1, input2);

 

  cout << result << endl;

  return 0;

Explanation:

When you connect a printer to your computer, ________ allows the operating system to detect the printer to make setup easier.

Answers

Answer:

PnP

Explanation:

Consider the following code segment, which is intended to store the sum of all multiples of 10 between 10 and 100, inclusive (10 20 ... 100), in the variable total.
int x = 100;int total = 0;while( /* missing code */ ){total = total + x;x = x - 10;}Which of the following can be used as a replacement for /* missing code */ so that the code segment works as intended?A. x < 100.B. x <= 100.C. x > 10.D. x >= 10.E. x != 10.

Answers

The code segment illustrates the use of while loops

Loops are program statements that are used for repetitive and iterative operations

The missing statement in the code is x>= 0

The code is meant to add numbers from 10 to 100 (inclusive) with an increment of 10.

At the beginning of the program, variable x is initialized to 100, and it is reduced by 10 in the iteration until it gets to 10

So, the condition must be set to stop when the value of x is 10 i.e. x >= 0

i.e. the iteration must be repeated while x is greater than or equal to 10

Hence, the missing statement is (d) x >= 0

Read more about loops at:  

brainly.com/question/16397886

1. What is the value of the digit 2 in the number below?

1,243 (a) 2) (b) 200) (c) 2000) (d) 20

Answers

Answer:

200

Explanation:

Let's split the number 1,243 into its values.

1,000 + 200 + 40 + 3.

To check your answer, add all the numbers together.

_2_ _.

Notice that there are "2" spaces after the 2.

This is why there are 2 zeros in 200.

Therefore, 200 is the answer.

-kiniwih426

what is a common indicator of a phishing attempt cyber awareness 2022

Answers

There are several types of malicious document. A common indicator of a phishing attempt cyber awareness 2022 is that It includes a threat of dire circumstances.

Phishing attacks often makes use of email or malicious websites to infect the machine with malware and viruses so as to collect personal and financial information.

Cybercriminals often uses different means to lure users to click on a link or open an attachment that infects their computers thereby producing vulnerabilities for criminals to use to attack.

Learn more from

https://brainly.com/question/24069038

When it is being used to make a telephone call, your smartphone is an example of which part of the communication process

Answers

In the communication process, when your smartphone is being used to make a telephone call, your smartphone is an example of a: medium.

Communication refers to a process which involves the transfer of a message (information) from an individual (sender) to another (receiver), through the use of semiotics, symbols and signs that are mutually understood by both the sender and the receiver.

The Sender Message Channel Receiver (SMCR) model of communication is composed of four (4) main components and these are;

Sender (S).Channel (C) or Medium.Message (M).Receiver (R).

In the communication process, a smartphone which is being used to make a telephone call is an example of a medium or channel because it provides the pathway for the transmission of a message (information) from an individual (sender) to another (receiver).

Read more: https://brainly.com/question/17438207

Question 10 of 10
Your company emphasizes the important of conserving (not wasting)
resources. How can you support that value when you print an 8-page report
you were asked to bring to your department's monthly meeting?
O A. Use the Print option for two-sided printing.
OB. Use the Print option to create extra copies.
C. Post the report online before printing it.
O D. Use the Save option to choose a format readers can open.

Answers

D, because it will save paper and not go to waste

Consider the following instance variables and method from a class: private String descriptor; public String makeSentence(int quant, boolean sign) { String s = "Object is "; if (!sign) { s += "not "; } for (int i = 0; i < quant; i++) { s += "very "; } return s + descriptor; } Suppose an object of this class is initialized so the value of descriptor is "regular". What would be returned by the call makeSentence(3, false) made on this object?

Answers

The call makeSentence(3, false) will return

"Object is not very very very regular"

The program fragment is:

///////////////////////////////////////////////////////////////////////////////////////////////////////////////

private String descriptor;

public String makeSentence(int quant, boolean sign) {

   String s = "Object is ";

   if (! sign) {

       s += "not ";

    }

   for (int i = 0; i < quant; i++) {

       s += "very ";

   }

   return s + descriptor;

}

///////////////////////////////////////////////////////////////////////////////////////////////////////////////

descriptor is an instance field of the class. When makeSentence(3, false) is called, it does the following;

Initializes a local variable s with "Object is "

s now contains "Object is "

Since sign== false, the if block executes

s now contains "Object is not "

The for loop will execute 3 times to append "very " to s

s now contains "Object is not very very very "

Finally the return statement returns a concatenation of the contents of descriptor (descriptor=="regular") and s

s now contains "Object is not very very very regular"

Learn more about programs here: https://brainly.com/question/19625875

I need help with this question.

Fill in the blank with the correct response.
When an app seems to have a personality, we say it has ____

Answers

The answer is persona

5. The Shape Fill drop-down menu is used to

A b or c or d

Answers

Answer:

Change the color of the shape.

Explanation:

In the sentence, you must look at keywords, like "Fill" and "Shape".

The fact that it said shape fill means the tool would fill the inside of a shape.

Make sure to look at the definition of keywords to figure out what they mean.

Therefore, "Change the color of the shape" would be the correct answer.

-kiniwih426

Is noreasters the kind of weather that a place has over a long period of time (true)or (false) ?

Answers

It is true hope this helps

A NAND gate is a type of logic gate that produces an output of false only when both of its two inputs are true. Otherwise, the gate produces an output of true. Which of the following Boolean expressions correctly models a NAND gate with inputs P and Q?
a. (NOT P) AND (NOT Q).
b. (NOT P) AND Q.c. NOT (P AND Q).d. NOT (P OR Q).

Answers

A NAND gate combines the NOT gate and the AND gate.

For inputs P and Q, the boolean expression for the NAND gate is c. NOT (P AND Q)

The NAND gate means:

NOT AND

Assume the inputs are x and y, then the formula would be:

NOT (x AND y)

In this case, the input variables are P and Q.

So, we replace x and y with P and Q, respectively.

The formula becomes NOT (P AND Q)

Hence, the correct expression is (c)

Read more about NAND gates at:

https://brainly.com/question/11178154

Who are the primary users of erp systems?.

Answers

Explanation:

resellers, partners, suppliers, and distributors.

ok so I have two accounts and like, the other account has -20 points??? what happened​

Answers

You need to do the questions to get more points

Why do
ve need to add movies in our slide?

Answers

Answer:

movies are awesome! LOL but i dont understand your question...sadly.

Explanation:

jelaskan tiga kemungkinan sebab pengasah pensil itu tidak dapat berfungsi secara tiba-tiba (translate: explain three possible reasons why the pencil sharpener may not work suddenly) pls help me​

Answers

Explanation:

Internal gear wear must be significant (visually obvious) to be the cause of off-center sharpening. Cutter carrier is rotating but the pencil is not sharpening (doesn't feel like the cutter is engaging the pencil) This is usually caused by a foreign object (e.g., an eraser or broken pencil lead) inside the pencil bore.

John works as an associate at a construction company. His job is to draft contracts for suppliers. Before he prints the contract, he sends it to his manager so that he can suggest any required changes. Which feature should John’s manager use to make the suggestions?
A.
Spell Check
B.
Track Changes
C.
Comments
D.
Edit

Answers

Answer: D

Hope that helped :)

independence day in school long passage plss​

Answers

Answer:

Independence Day Celebration in My School

Fifteen August, is a red letter day in the history of India. On this day in 1947, our country become free form the long imprisonment of the British rule. Since 1947, fifteenth August is celebrated every year with great joy and pride. It reminds us for the great struggle of our freedom from the British rule. The great sacrifice for our freedom fighters is remembered, which serves as a beacon light for the development of this great country. The main function is held at Red Fort in Delhi where the Prime Minister unfurls the National flag. It is an occasion of celebration for every Indian and the whole nation celebrate a holiday from all work and take a pledge to work whole heatedly for the development of this country and preservation of Independence. All those who have stood out exclusively in their respective field of work are honored in public meetings. The whole nation pays homage to the security forces who have laid down their lives for the honor and security of the country.

We also celebrated the Independence day in our school compound, with great pump and show. The school building and the ground were cleaned and decorated for the occasion. A flag pole was put up at the top of the school building. The seating arrangement was made on the platform. Markings were made on the ground with white lines. The flower pots were kept all along the path.

There was great enthusiasm among students. The school band of students took its position half an hour before the actual function was to began. The members of the band were wearing a beautiful uniform. They began to play sweet tunes. The students had taken their places well before the time. They were all in school uniform, the white paint and white shirt.

The function began exactly at 8 a.m. all who were present stood in attention. The principal unfurled the flag. The petals of rose fell on us. Five boys sang a song in honor of the national flag. It was “Vijayee Vishwa Trianga Payara”. Them by the school band. The principal look the salute. He made an impressive speech and invited the Education Minster to impressive speech and invited the Education Minster to address us. In his address he asked us to take pledge to safeguard the freedom of nation. He also reminded us of great sons of India, Mahatma Gandhi, Pt. Nehru, Subhash Chandra Bose, Lala Lajpat Roy and Chander Shekar Azad and their sacrifices to the nation. After that different groups of students presented a programme of mass drill and pyramid formation. Ever one liked the programme.

In the end, all stood in attention. All the students, teachers and guardians sang the National Anthem in chorus. With this the function was over. Today the memories of this function are as alive to me, as it was on that day.

What genre of games involves gameplay that is designed to simulate real-world or fictionalized activites such as flying a plane or managing a city and often requires resource management?

Simulation games
Puzzle games
Adventure games
Strategy games

Answers

Answer:

simulation games

Explanation:

Simulation games are a broad category of games where gameplay is designed to simulate real-world or fictionalized activities and often require resource management skills.

Answer:

Simulation games

Explanation:

Modems communicate data by using which method?.

Answers

Considering the modem technology, Modems communicate data by using Radio frequency method.

What is Radio frequency method?

The radio frequency method in modem communication allows modems to communicate or transfer data through wireless over a distance of tens of kilometers.

The essence of Radio frequency in modems

With radio frequency, modems can easily communicate without telecommunication or satellite network operators. It usually performs at 300 MHz to 900 MHz range.

Hence, in this case, it is concluded that the correct answer is the Radio frequency method.

Learn more about modem technology here: https://brainly.com/question/9617717

How can middleware be used in angular.

Answers

Answer:

when a rquest comes in to the application

How to emit from jquery in angular 8.

Answers

Answer:

idek what you just said

Why is remixing so popular with artists and other people online?

A.
It is so popular because remixes are guaranteed to make money.

B.
It requires no skill or special tools to do.

C.
It is a legal loophole that allows them to benefit from other people’s work.

D.
It is a way to be creative without having to construct totally new pieces.

Answers

Answer:

D.It is a way to be creative without having to construct totally new pieces.

Explanation:The answer is -D- because it is true. Remixing is a way of being creative, and you don't have to make completely new pieces.

Answer:

its likely D

Explanation:

remixing allows artists to combine and change different songs without having to actually create a song their-selves

with which type of satellite is there a propagation delay?

Answers

Geostationary satellites have a high propagation delay.

________ programming techniques consist of top-down program design, pseudocode, flowcharts, and logic structures. Group of answer choices Object-oriented Structured Unstructured Content-markup

Answers

Considering the programming layout, Structured programming techniques consist of top-down program design, pseudocode, flowcharts, and logic structures.

Definition of Structured Programming Technique.

This is because Structured Programming techniques are a method that is employed to enhance the reliability and simplicity of the program code.

Configurations of Structured Programming Technique.

Structured Programming Techniques generally takes three structures body which include the following:

IF THEN ELSE DO WHILESequence

Hence, in this case, it is concluded that the correct answer is option B. "Structured."

Learn more about programming techniques here: https://brainly.com/question/17180300

Distributions of links in most networks follow a(n) __________ rule. radio_button_unchecked 60/40 radio_button_unchecked 90/10 radio_button_unchecked 50/50 radio_button_unchecked 80/20 SUBMIT

Answers

In most computer networks, the distribution of links follow an: 80/20 rule.

A network can be defined as a set of interconnected computer systems (nodes) and the relational ties linking the computer systems together.

An 80/20 rule is also referred to as the Pareto Principle and it can be defined as a concept in cybersecurity, which states that there exist an unequal relationship between outputs and inputs, in the ratio of 80 percent to 20 percent respectively.

In most computer networks, the distribution of links follow an 80/20 rule by rationalizing the amount of traffic that must enter into a network (20 percent) with respect to the amount of traffic that must exit the network (80 percent).

Read more: https://brainly.com/question/22365112

Type the correct answer in the box. Spell all words correctly. Define the term loop rule. The loop rule tells us that if we sum the across all the components in a single closed path of an electrical network, the result is 0.

Answers

Answer:

91

Explanation:

helpppppppppppppppppppppppppppppppppppppppppppppppppppp

Answers

Answer:

I would say B.

Explanation:

It seems the most logical. :)

The ____ design is the process of selecting the data storage and data access characteristics of the database.

Answers

Answer:

The Physical database design is the process of selecting the data storage and data access characteristics of the database.

A process that takes plaintext of any length and transforms it into a short code is called Group of answer choices encryption hashing symmetric encryption asymmetric encryption

Answers

Answer:

hashing

Explanation:

A hash can be used in compression which reduces the length of a plaintext sequence

Other Questions
On 1 January 2011 a company issued five-year fixed-interest bonds with a face value of $5 million, paying half-yearly coupons at 8.25 per cent per annum. Coupons are payable on 30 June and 31 December each year until maturity. On 15 September 2013 the holder of the bonds sells at a current yield of 8.63 per cent per annum. Calculate the price at which the investor sold the bond. What is the slope? Simplify your answer and write it as a proper fraction, improper fraction, or integer. finely's pumpkin had a mass of 6.5 kilograms (kg) before he carved it after carving it the pumpkin has a mass of 3.9 kg what was the percent decrease of the pumpkin please help answer this asap!Is this a criminal or civil case? explain why.article: With Mounties due for a pay bump, cash-strapped municipalities seek reprieve from Ottawa:Mounties are due to receive a chunk of retroactive pay after negotiating their first-ever collective agreement. Some municipalities say the looming salary bump will stress their finances and they want Ottawa to step up.This summer, the federal government and the union representing RCMP members ratified an agreement to deliver a sizeable pay increase to nearly 20,000 members.Constables who account for more than half of all RCMP officers will see their maximum salary jump from $86,110 as of April 2016 to $106,576 next year.The deal also lays out retroactive pay increases going back to 2017. The RCMP last updated its wage scale in 2016 and for years Mounties' pay lagged behind that of other police services. According to the agreement, the rates of pay will change within 90 days of Aug. 6, when the collective agreement was signed. It's then up to the RCMP to make its "best effort" to implement the retroactive payable amounts within 270 days of signing.The Federation of Canadian Municipalities (FCM) says communities that pay the RCMP for policing services are growing alarmed over the agreement's cost."It's widespread coast to coast to coast and our municipalities are actually very concerned, very, very concerned," said FCM president Joanne Vanderheyden, also the mayor of the municipality of Strathroy-Caradoc in Ontario."This issue is absolutely urgent given the potential impacts on municipal finances."Municipalities with populations of less than 15,000 pay 70 per cent of the costs, while the federal government pays 30 per cent. Municipalities with more than 15,000 residents pay 90 per cent.Vanderheyden said that while negotiations on the collective agreement were happening behind closed doors, municipalities were advised by the federal government to set money aside to cover the anticipated pay hike."Well, the percentage was way too low," she said, adding the retroactive pay also came as a surprise to most mayors."We are absolutely not against collective bargaining. That's not it. It's when you're not at the table and the direct impact comes to you."Ottawa is asked to swallow retroactive costs The FCM has written a letter to the federal government asking it to absorb all retroactive costs associated with the collective agreement. Without federal help, Vanderheyden said, "municipalities will be forced to make incredibly difficult decisions because they're either going have to make cuts to their essential services or pass it along to the property tax, local residents. Because they can't go into arrears, they can't go to deficits."Peter Brown, mayor of Airdrie in Alberta, said that while he firmly supports paying RCMP officers more, he was surprised by the final price tag. He said his city, just north of Calgary, has budgeted and held money back over the past few years but still has only about half of what it needs to cover the added policing costs."The message from me is, recognize that we've all been hit. We're all suffering," he said, referring to the pandemic.Brown said the collective agreement's impact on Airdrie's budget is "probably in a $3.5 million to $4 million range. That's the equivalent [of] a five per cent tax increase."Codiac RCMP spending rises to $39M in proposed 2022 budgetMalcolm Brodie, mayor of Richmond, B.C., said his municipality estimates the retroactive pay lump sum will cost it something between $9 million and $11 million, plus the annual pay increase itself."What that means for us is to cover that the amount going forward on our budget, that's about a one-time 2.5 to 3.5 per cent tax increase," he said."We certainly have stayed with the RCMP for a good reason. We think that they've done a good job for our community. Having said that, you know, it's getting a whole lot more expensive."A spokesperson for the federal Department of Public Safety said the department has kept in touch with regions with RCMP contracts on a regular basis since 2018."Contracting jurisdictions were aware that the salary of RCMP officers had been frozen since 2016 and that the collective bargaining process began in 2020. With the new collective agreement for RCMP regular members and reservists, salaries are in line with other police services across Canada," said Tim Warmington."It is fair for regular members and reservists as well as reasonable for Canadian taxpayers."answer please!! Over a period of 3 seconds, a speedboat accelerates uniformly from 20 m/sto 50 m/s. What is the acceleration of the speedboat relative to the shore? 10 x 9= what is it help When classified according to the kind of chemical reactions catalyzed, digestive enzymes are referred to as _____ enzymes. and side q has aIn the 30-60-90 triangle below, side s has a length oflength of30g109060SA. 5.10.15B. 10.13.20C. 105: 105 There are 120 members of the band at Erin's school. 45% of the members are 7th graders. How many members are 7th graders. how do humans affect the lithosphere The military coup that started in April of 1974 marked the beginning of what was known as the ___. Group of answer choices The bottom of a ladder rests on the ground and the top of the ladder rests against a wall. The ladder forms a 63 angle with the ground and the top of the ladder is positioned 12 meters up the wall. Which is the exact measure of the ladder in meters? Jessica is a custodian at Oracle Arena. She waxes 20 square meters of the floor in 3/5 of an hour. She waxes the floor at a constant rate.At this rate, how many square meters can she wax per hour? Maria and Carlos went to the game store during its sale. Together they spent $38.50. If each game cost $3.50 and Carlos bought one more tan Maria, how many games did each buy? Read the sentence.I need to stop at several places, including: the bank, the grocery store, and the dry cleaners.Which best explains why the colon after "including should be removed?The colon does not introduce a list of items and is therefore unnecessary.The introductory text in the sentence cannot stand alone.Colons are only used to introduce lists composed of more than three items.Colons are not used to introduce lists of items in sentences. Can someone help please no links Mark has 2,250 t-shirts to sell. He sold 25% of theshirts on Monday, 45% on Tuesday and the rest onWednesday. How many shirts did he sell onWednesday? 10. What did Bismarck learn in his new political roles? Diane changes the size of an image with the format picture pane and keeps the original ratio of height to width of the object. What has Diane done to the image?chose D. she scaled, got 100% EXPLAIN. HOW DID THE MAN LEARN TO SURVIVE THROUGHOUT HIS EVOLUTION SINCE THE BEGINNING OF HIS EVOLUTION?