HELLO!!!! For instance, will we get an error if we put a space after the word “print” and before the opening parenthesis in python? With explantion.

Answers

Answer 1

In python, spaces in the sense you're talking about, dont matter. For instance,

print ( "hello") will run the same as print("hello")

But, you cannot put a space before the print statement. That's called indenting. You are only supposed to indent code that is inside loops, if-elif-else statements, and functions.


Related Questions

Before he buys a new smartphone, Tim can best use data to

evaluate which phone he should get.
convince himself he wants a phone.
discredit others’ opinions on his phone choice.
recognize problems that all phones have.

Answers

It’s A or the first one, kinda like process of elimination, the second and third one are obviously eliminated first so then it’s just between a and d. But a makes more sense as to he has to buy one either way

Answer:

A.) Evaluate which phone he should get

Explanation:

Edge2020

Select the correct answer.
What is a hyperlink?
A.
A bold link that goes back to a newspaper
B.
A link that clicks on itself
C.
A way to cite sources in an online article
D.
A special link on a smartphone

Answers

Answer:

c.

Explanation:

a link from a hypertext file or document to another location or file, typically activated by clicking on a highlighted word or image on the screen.

Answer:

c

Explanation:

came out my study guide and i made a 96 % on my 50 question test

Which function will find the difference of 15 and 3 and return 12 when the main part of your program has the following line of code?

answer = subtract(15,3)

def Subtract(numA, numB):
return numA - numB

def Subtract(numA, numB):
return numB - numA

def subtract(numA, numB):
return numA - numB

def subtract(numA, numB):
return numB - numA

Answers

Answer:def subtract(numA, numB):

   return numA - numB

Explanation:

i got the right answer but i was willing to get it wrong for the right anwser for you

The function that will find an accurate difference of 15 and 3 and return 12 when the main part of your program has the following line of code is as follows:

def subtract(numA, numB):

       return numA - numB

Thus, the correct option for this question is C.

What is the significance of the output of the program?

The significance of the output of the program is understood by the fact that it delivers some values or concepts to the user with respect to the instruction he/she is given to the computer for processing. The output of the program is very specific in nature.

According to the question, you have to assume the value of number A as 15 and number B as 3. So, when you find the difference between these numbers, you get an output of 12.

You must follow the process as follows while framing a program:

def subtract(numA, numB):

         return numA - numB

Therefore, the correct option for this question is C.

To learn more about Output of a program, refer to the link:

https://brainly.com/question/18079696

#SPJ2

girls question
who wants to go out ;p

Answers

MEEEEE PICK ME CHOOSE ME IM LONELY

Answer: I do

Explanation: *P.S.* I'm a Boy

What is the difference between soft copy output devices and hard copy output devices​

Answers

the output printed on the paper is called hardcopy output. some examples are printer and plotter.

the output produced on display screen and audio sound is called soft copy output. some examples are moniter and speaker.

A peripheral can be used to tell a computer to complete a specific task.
A) True
B)False

Answers

Answer:

A. true

Explanation:

because you can complete it without it mistakes if your using an computer but if you use an paper you will make mistakes over and over

Collisions occur when one output is mapped to two inputs.

A. True
B. False

Answers

Answer:

true very true very true

Answer:

False

Explanation:

I honestly just guess ngl

but i believe it's right ;0

What action demonstrates unethical behavior?
A.
working overtime
B.
completing your work ahead of time
C.
taking credit for another person’s work
D.
keeping a tab on your organization’s carbon footprint
E.
leaving office on time

Answers

Answer:

taking credit for another person’s work

Any illegal actions, such stealing or physically abusing employees, are unethical at work. Unethical behavior can be observed in a wide range of businesses and environments. Taking credit for another person’s work.

What is Unethical behavior?

When a person, a professional, or an industry acts in a way that is deemed unethical because it goes against social norms, that behavior is referred to as unethical behavior.

Politicians, businesses, professions, and individuals all have the potential to act unethically.

There are other instances of deliberate deception, but they serve as illustrations of how damaging deception can be when it is used to violate someone's rights or security.

Therefore, Any illegal actions, such stealing or physically abusing employees, are unethical at work. Unethical behavior can be observed in a wide range of businesses and environments. Taking credit for another person’s work.

To learn more about Unethical, refer to the link:

https://brainly.com/question/10174825

#SPJ2

What are possible challenges of cyberbullying

Answers

Answer:

so,e challenges of cyber bullying is that,it could be a random person bullying u and u won't know who it is,another challenge of cyber bullying is that they can blackmail u or pretend to be u or threaten u

Answer:

Possible challenges of cyberbullying have to do with nonbelievers, or people who do not think cyberbullying is a real problem. Technology makes it hard to stop bullies, and some people do not want to take responsibility.

Question # 6
Math Formula
What is the output of this program? Assume the user enters 2, 5, 1, and 6.

numA = 0
for count in range(4):
answer = input ("Enter a number: ")
fltAnswer = float(answer)
numA = numA + fltAnswer
print (numA)

Answers

Answer:

14.0

Explanation:

The loop converts each answer to a float. The accumulator variable adds the values entered.  

2.0 + 5.0 + 1.0 + 6.0 = 14.0

Answer:

14.0

Explanation:

Edge 2021

Hi guys, Im making a game. I want to make a collision event, but what is the code for making the wall and the box collide. I really need a quick and correct response. Pls support.

Answers

Answer:

i think its 3337

Explanation:

BRAINLIEST

When using design templates, these elements will be determined for you.
bullets
background
color scheme
content
title
font

Answers

Answer:

background

color scheme

font

I think thats all

Explanation:

Please give me Brainly

When using design templates, the elements that will be determined for you are color scheme and background. The correct options are b and c.

What is designing a template?

The template is creating a document that has a copy of itself. Design templates are ready-made layouts and written materials that can be altered.  For example, if you have a template of office content, then you can use it for another word document. You don't have to start from scratch.

In order to maintain consistency among users and media, templates are frequently created to adhere to certain rules or specifications. You can make new templates for later use, or utilize pre-designed templates from template libraries and websites.

Therefore, the correct options are b, background, and c, color scheme.

To learn more about template, refer to the link:

https://brainly.com/question/28193778

#SPJ2

Which statement is true? Select 3 options.

A function must have a return value.
A function can use variables as parameters.
The definition of a function must come before where the function is used.
A function can have more than one parameter.
The definition of a function can come before or after it is used.

Answers

Answer:

A,C, AND E

Explanation:

i got it wrong for the anwser

The statements that are true are as follows:

A function must have a return value.The definition of a function must come before where the function is used.The definition of a function can come before or after it is used.

Thus, the correct options for this question are A, C, and E.

What is Function?

A Function may be defined as a kind of expression, rule, or law that significantly determines a relationship between one variable which is known independent variable and another variable which is known as the dependent variable.

Each and every function must possess a return value. Apart from variables, there are several other parameters on which functions have to be worked on. So, the definition of a function must exist prior to its utilization. However, the actual definition of function may also exist after its utilization as well.

Therefore, the correct options for this question are A, C, and E.

To learn more about Functions, refer to the link:

https://brainly.com/question/22340031

#SPJ2

What does a coder do on a daily basis?

Answers

medical charts and assinging codes

Which search phrase is the most effective to find out about the most popular pizza chains worldwide in 2019?
A.
popular pizza chains in the world
B.
most popular AND pizza chains AND worldwide AND 2019
C.
the most popular pizzas “in the world today” AND 2019 AND chains
D.
2019 worldwide pizza chains “most popular in the world”

Answers

D I believe is correct

Answer:

D

Explanation:

Why can the internet keep growing as more devices are added without decrease in performance?

Answers

Answer:

Explanation:

There may be many reasons why your internet speed is slow. Internet use requires a reliable connection between your device and the destination, which may be a server that is physically located on the other side of the world.Your connection to that server could pass through hundreds of devices on its journey. Each one of these is a potential failure, or weak point. If one point along this path isn’t functioning optimally, this can significantly affect your internet experience.

There are many reasons your Internet connection might appear slow. It could be a problem with your modem or router, Wi-Fi signal, signal strength on your cable line, devices on your network saturating your bandwidth, or even a slow DNS server. These troubleshooting steps will help you pin down the cause.

Part B
How would you classify a network formed by connecting two MANs together?
В І у хх Font Sizes А • А

Answers

Computer programming 2254518752669
Other Questions
Question 1 (1 point)Mr. Whittaker had 24 bags of marbles. If 1/4 were red and 3/8 were yellow. How many were neither red or yellow615109 Analyze the map below and answer the question that follow Examine the map above. Describe the pathways taken by the Five Tribes when they were removed from their homelands. Where did the tribes originally live, and where were they moved to? Can someone help me? Please i need this done PLZZ ANSWER THE QUESTION Which search phrase is the most effective to find out about the most popular pizza chains worldwide in 2019?A. popular pizza chains in the worldB. most popular AND pizza chains AND worldwide AND 2019C. the most popular pizzas in the world today AND 2019 AND chainsD. 2019 worldwide pizza chains most popular in the world 1. Which issue was addressed in the post-Civil War amendments?citizenshipimmigrationmilitary draftprivacy rights Kitchel told Parker that he needed a couple of weeks to think about his proposal. How should Parker handle this 20 points to answer and extra if its right! Anthony is preparing a special soup for his wife. The stock has been simmering for a few hours, along with a mix of egg whites and clear meat.What is he making?OA.hot and sour soupOB.consommOc. beef and vegetable soupODegg drop soup Some soldiers fought with long Choose...Vduring the American Revolution. pls help ill give you a brainly In four to five sentences, compare and contrast the governments of Sparta and Athens. The science center has 200 people in attendance on Monday. The center expects Saturdays attendance to be 140 percent of Mondays attendance. Natasha is trying to figure out how many people will be in attendance. Her work is shown below. StartFraction part Over whole EndFraction = StartFraction 140 Over 100 EndFraction StartFraction 140 divided by 2 Over 100 times 2 EndFraction = StartFraction question mark Over 200 EndFraction 140 divided by 2 = 70 70 people will be in attendance. What mistake did Natasha make? Natasha should have multiplied 140 by 2. Natasha should have divided 100 by 2. Natasha should have added 140 and 200. Natasha should have multiplied 140 and 200. Does the table represent a function? Then representthe relationship using words, an equation, and agraph.I need crucial help! 12. What does Prospero reveal about himself in this soliloquy? Match the term with the correct definitionQuestion 3 options:It is a government where the monarch and the constitutionally organized governing body share power. The monarch is the head of state, but the decisions are made by the government.one person makes all decisions for the government.It is a form of rule in which a single person has undivided rule of absolute sovereigntymany people run the government and have a say in decisions.It is the political doctrine and practice of unlimited centralized authority and absolutely sovereignty, vested in a monarch or dictator. The leader is not kept in check by any other governing body.1. Democracy2. Autocracy3. Absolutism4. Monarchy5. Constitutional Monarchy Explain the 4 regions of the Arabian Peninsula in your own words Example of a balance point Find an expression for the nth term (tn) in each of the following sequence:2, 6, 10, 14, 18 Which statement best summarizes the soldier'sthoughts?Living in the trenches was mostly dull, with little tooccupy the soldiers' time.Living in the trenches could be deadly, but alsovery exciting.O Living in the trenches was a lot like living backhome, with both ups and downs.O Living in the trenches was very dangerous, withfew of the comforts of home.