What is the difference between * and **operator? in python ​

Answers

Answer 1

Answer: "**" is used for power off while "*" is used for multiplication

Explanation: you just have to memorize it

Answer 2

In python language the "**" operator is used for 'power of" and "*" is used for multiplication.

To alter the value of operands in Python, utilise the operators constructs. These are the figurative representations of logical, mathematical, and other operations.

Consider the equation 4 + 5 = 9. The operator in this instance is +, and the operands are 4 and 5. We'll examine numerous Python operators in this session.

The following operator categories are supported by the Python language.

Comparison (Relational) Operators for ArithmeticOperators of assignmentsIntelligent OperatorsOperators in bitsOwners of membershipsIndividual OperatorsLet's quickly review each of these operators in turn.

In python language the "**" operator is used for 'power of" and "*" is used for multiplication.

Therefore, in python language the "**" operator is used for 'power of" and "*" is used for multiplication.

Learn more about the python language here:

https://brainly.com/question/11288191.

#SPJ3


Related Questions

use JAVA

Create a HighestGrade application that prompts the user for five grades between 0 and 100 points and stores

the grades in an ArrayList. HighestGrade then traverses the grades to determine the highest grade and then

displays the grade along with an appropriate message.

Output:

Enter a grade (between 0 and 100): 87

Enter a grade (between 0 and 100): 65

Enter a grade (between 0 and 100): 98

Enter a grade (between 0 and 100): 89

Enter a grade (between 0 and 100): 55

The highest grade is: 98

Answers

Answer:

import java.util.*;

public class HighestGrade

{

       public static void main(String args[])

       {

                Scanner sc = new Scanner(System.in);

                 int n = 5;      

                ArrayList<Integer> grades = new ArrayList<Integer>(n);

               for (int i = 1; i <= n; i++)

                {

                       System.out.print("Enter a grade (between 0 and 100): ");

                       int num = sc.nextInt();

                       grades.add(num);

                }

                int max = grades.get(0);

                for (int i = 1; i < n; i++) {

                       if (grades.get(i) > max) {

                             max = grades.get(i);

                       }

                }

               System.out.print("The highest grade is: "+max);

       }

}

Explanation:

The class HighestGrade application rompts the user for five grades between 0 and 100 points and stores  the grades in an ArrayList. HighestGrade then traverses the grades to determine the highest grade and then displays the grade along with an appropriate message.

How can you create a messages to look like an IMessage?

Answers

Answer:

An article about the company in a city newspaper are consumers most like to trust.

Explanation:

PLEASE ANSWER AND HURRY I'LL MARK YOU BRAINLIEST!!


Answers

Answer:

what's the question?

Explanation:

I see no question.

Mark’s friends told him about an automated program that sends unsolicited messages to multiple users. Which type of program were Mark’s friends referring to?

Answers

Answer:

Spambots.

Explanation:

Spambots send thousands of messages world wide once they get your information things like email and such and send out unsolicited things out constantly. 

def test() : # do not change this line!
values = [4, 7, 8, 9, -5] # do not change this line!

# write your code here so that it modifies values

# be sure to indent your code!

print(values)
return values # do not change this line!
# do not write any code below here

test() # do not change this line!
# do not remove this line!

Answers

I’m sorry this is unclear . What exactly do you need .

What should you look out for when choosing snacks that seem healthy? How can you make sure that the snacks you are choosing are actually healthy?

Answers

Answer:

You can make sure that the snack is healthy by looking at the ingreadents. A healthy snack should not have alot of persavatives and sugars. A good golden rule is if you can't pronaunce the word then its not good for you.

Explanation:

1. All the computer has a power button.​

Answers

Answer:

The power button is a round or square button that powers an electronic device on and off. Nearly all electronic devices have power buttons or power switches. Typically, the device powers on when the button is pressed and powers off when it's pressed again.

Explanation:

1. True. All computers have some way of turning on or off. whether that be a button or a switch.


Which two of these can be stored in a float variable?
1
C
3.4
true
"hello"

Answers

Answer:

3.4

Explanation:

A float variable can only store a floating-point number which means it can store a number that has a decimal place or a decimal number.

Answer:

float variable is

3.41

Matlab

K = 92

how do i do
AK= u * s * v'
with this value?

u = 1
s = 12.0048
v = 1

Answers

Answer:

Explanation:

AK = u*s*v

u = 1

s = 12.0048

v=1

K = 92

92A = 1 * 12.0048 * 1

92A = 12.0048             Divide by 92

A = 12.0048/92

A = .1304

different types of programming languages​

Answers

the main types are machine language, assembly language and high level language

Answer:

At the time of writing, some of the top programming languages include: 

C

Java 

Python

C++

C# 

Visual Basic 

JavaScript

PHP

SQL

Assembly language

R

Groovy 

If you are trying to create a game that involves a mystery, what colors would work best to support the mood?
dark colors
bright colors
neutral colors
greyscale colors

i gave up in life

Answers

Answer:

the answer is dark colors

Answer:

Dark colors

Explanation:

Dark colors are very ominous and support a mood of mystery

True or false: the web-based game "We Are Data" connected to real data in real time in the cities of London, Berlin, and Tokyo.

Answers

The answer of this question is true

The web-based game we data is connected to real data in the real-time of cities such as London and berlin is true.

What is a web-based game?

The web-based game is one that is an online internet-based game that makes use of the browser and is a multiplayer game this can be connected to the server of the host or the home country such as the berline, Toyko, and even London, etc.

Find out more information about the web-based game.

brainly.com/question/21133985

who invent cars and who invent bikes and who invent pc

Answers

Answer:

Cars were invented in 1886 by Karl Benz.The term bicycle was coined in France in the 1860s, but The first verifiable claim for a practically used bicycle belongs to German Baron Karl von Drais in 1817The first computer was by Charles Babbage, an English mechanical engineer and polymath he originated the concept of a programmable computer.

Please answer these questions.

Answers

For question 15 the answer is option C. I don't know the answers to the other questions

Write a program that:
a) Inputs TWO numbers and finds the average of both numbers, only if BOTH numbers are less than 100

Answers

Answer:

num1 = int(input("Enter number 1: "))

num2 = int(input("Enter number 2: "))

if num1 < 100 and num2 < 100:

   newnum = num1 + num2

   finalnum = newnum // 2

elif num1 >= 100 or num2 >= 100:

   print("Invalid input.")

else:

   pass

Explanation:

Gg ez.

(I assumed the language was python. Next time, put what programming language you want it to be in.)

conclusion for project for computer​

Answers

OK this question is answer easy the computer important of future

You can change the ____ or position of text within a document's margins.
a. fielding
b. proportion
c. location
d. alignment​

Answers

Answer:

Alignment

Explanation:

That should be correct

You can change the alignment or position of the text within a document's margins. Thus, the correct option for this question is D. This is because it refers to the way text is arranged in the document between the margins.

What is alignment in a text?

Text alignment may be characterized as a type of paragraph formatting attribute that determines the appearance of the text in a whole paragraph. It is a term that describes how text is placed on the screen.

The changes in the text alignment are made by the following action:

Place the insertion point anywhere in the paragraph, document, or table that you want to align.Do one of the following: To align the text left, press Ctrl+L. To align the text right, press Ctrl+R. To center the text, press Ctrl+E.

Therefore, you can change the alignment or position of the text within a document's margins. Thus, the correct option for this question is D.

To learn more about Text alignment, refer to the link:

https://brainly.com/question/7512060

#SPJ2

What is accomplished by the following code snippet, assuming all variables had been
populated?
amount_owed += duration rate

O Amount owed is set to duration times rate.
O Amount owed adds duration times rate to it.
O Amount owed is displayed to a user as duration rate.
O This line would return a syntax error.

Answers

There are different kinds of computer programs. The option that is accomplished by the following code snippet is the Amount owed adds duration times rate to it.

Code Snippet is simply regarded as a term used to show a tiny portion of re-usable source code, machine code etc. It is know to help a programmer to avoid typing repetitive code when undergoing routine programming.

It is a common example in documentation. It depicts how to use some particular class or how to finish an assigned task. It can be in form of a short snippet that is based on a specific task or a longer one.

Learn more about Code Snippet from

https://brainly.com/question/24171161

Which system carries the idea of GPS service further than simply telling you which route to take to arrive at a particular place

Answers

There are different uses of GPS. Apple’s Siri system carries the idea of GPS service further than simply telling you which route to take to arrive at a particular place.

Apple Siri  is a software device that can make calls or send texts for a person when he or she is driving.

It often carries the idea of GPS service further as it does not only give GPS but it can help you to tell you, your messages on your Airpods. It often offers some suggestions on things you want to do will driving.

Learn more about Apple Siri from

https://brainly.com/question/9795929

Explain Importance of flowchart in computer programming

Answers

Answer:

Flow charts help programmers develop the most efficient coding because they can clearly see where the data is going to end up. Flow charts help programmers figure out where a potential problem area is and helps them with debugging or cleaning up code that is not working.

creds to study.com (please don't copy it work by word, make sure to paraphrase it. otherwise plagiarism is in the game.)

Explanation:

The famous arcade game Space Invaders was first adapted to which home console?
OA.
Atari VCS 5200
OB.
Fairchild VES
O c.
Atari VCS 2600
D.
Atari VCS 7800

Answers

Answer:

Attari VCS 2600

Explanation:

It was in 1980 and then home gaming really took off!

Briefly explain the conceptual of effective computer based instruction for adults outlining the three units output process and input

Answers

Based on the research analysis, the concept of effective computer-based instruction for adults is the integration of the key organs of computer-based instruction to deliver desired guidelines for research in CBI for adults.

The three units output process and inputOutput processExternal supportCBI DesignInstructional Strategy design

Input ProcessSelf DirectednessComputer Self EfficacyLearning Goal Level

Hence, in this case, it is concluded that computer-based instructions can be practical for adult learning.

Learn more about CBI here: https://brainly.com/question/15697793

Please help ASAP

14. What is the following code snippet doing?
cities_array = ["Boston":"Winthrop", "Belmont". "Braintree", "Cambridge"]

O increasing the scope of the variable cities_Array

O validating city inputs

O creating an index s city names for an array

OThis code would return a syntax error.

Answers

( If this is in python) then it would return a syntax error because you have used a dot and a colon instead of a comma

What is a complete group of instructions known as in Scratch?
blueprint
program
sprite
code block

Answers

Answer:

I think it may be blueprint

Answer:

program

Explanation:

Which system provides an easier way for people to communicate with a computer than a graphical user interface (GUI)

Answers

Answer: natural Language Processing

Explanation:

Natural Language Processing: It is a sub field of linguistics which is concerned with the interactions between Human and computer especially how to program computers to process and to understand large amounts of natural language data.

Shifting various computer activities from your
own computer to servers on the internet is referred
to as:

Answers

Answer:

Data transfer???I don't remember one of the easiest questions of my life

You would like the word "Employee" to appear in cells A1, B1, C1, D1, and E1. To be efficient, you should
type the label in Al and drag down column A
use the merge and center command
type the label in Al and use autofill
type the label in each of the cells

Answers

To be efficient, type the label in Al and use autofill. Check more about excel below.

What is Excel used for?

Microsoft Excel is known to be a kind of software that helps its users to be able to edit, organize and calculate data through the use of a spreadsheet.

Note that one can be able to duplicate a word such as "Employee" on excel by typing the label in Al  and use autofill.

Learn more about Excel from

https://brainly.com/question/25879801

#SPJ2

Define technical writing. The proposal introduces the ……. (5 Mark)

a) Results b) Objectives c) Researcher d) None of the previous

Answers

Answer:

B.objective

#carryonlearning

What does this Python expression evaluate to?

100 != 100

True

False

“True”

“False”

Answers

Answer: False

Explanation:

Which cloud computing model allows users to create their own applications given a specific set of tools

Answers

I believe Windows or Apple computers. Sorry if I’m not helpful.

Other Questions
Guys, I really need these answers ASAP, Please help, I will give 10 points. Look at the 3 screenshots posted below how many cards do you need to win cards against humanity Darla scored 18 points in her last basketball game, shooting only 2- and 3-point shots. If she made 7 total help please No links Write the complete electron configuration using the diagonal rule for strontium. For a project in her Geometry class, Makayla uses a mirror on the ground to measure the height of her school building. She walks a distance of 13.75 meters from the school, then places a mirror on flat on the ground, marked with an X at the center. She then steps 1.2 meters to the other side of the mirror, until she can see the top of the school clearly marked in the X. Her partner measures the distance from her eyes to the ground to be 1.35 meters. How tall is the school? Round your answer to the nearest hundredth of a meter. An ammeter has azero offset error This fault will affect Role and responsibility of an IT professional A scientist carried out an experiment to follow the movement of carbon atoms within animal cells. To do this, the scientist added glucose with radioactively labeled carbon atoms to a culture of cells growing in a Petri dish.After a certain amount of time had passed, the scientist tested parts of cells for radioactivity. Radioactivity was detected in various biomolecules, including DNA.Which of the following statements best explains why radioactivity was detected in the DNA?Choose 1 answer:(Choice A)The DNA was in close proximity to the radioactive glucose during its formation.(Choice B)Carbon atoms that were once in the radioactively labeled glucose were used to form DNA.(Choice C)The DNA was made up of radioactively labeled glucose subunits. what do the dead sea and the caspian sea have in common? please help asap will give brainliest What does the excerpt ads to the reader's synthesis about Stephenson's invention?A Stephenson was adept at taking other's ideas and putting them to practical use.OB. Stephenson put improvements in place that would double the speed of his first engine.OC. Various mechanics had been working for a long time to perfect high-pressure steam engines.OD. The key to developing successful steam engines came in establishing partnerships. I need help can someone help why are some being helped and others not rwanda If a trench is 102-6 long by 5-4 wide and 3-3 deep, what is the volume of the soil that was removed per cubic feet? Use the blue boxes to put the words in alphabetical order.men, order, mess, mail, meetPlz help How is Cubas economy affected by the government? PLease help ................................................................ Characteristics of bipolar disorder typically include brainly. Fd meaning in microsift