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

Write a program that asks the p34won to enter their grade, and then prints GRADE is a fun grade. Your program should repeat these steps until the user inputs I graduated

Answers

Answer:

Following are the code to this question:

def fun():#defining a method fun

  while True:#defining a while loop  

      g = input("Enter your grade: (I graduated) ")#defining variable g for input value

      if g == "I graduated":#defining if block to check string value

          return 0#return  

      print("{} is a fun grade".format(g))#use print method to print string value  

fun()#calling the method

Output:

Enter your grade: (I graduated) 1st

1st is a fun grade

Enter your grade: (I graduated) 2nd

2nd is a fun grade

Enter your grade: (I graduated) I graduated

Explanation:

In the given python code, a method "fun" is defined, and inside the method, a while loop is defined, which uses a variable "g" for input value from the user-end.

In the next step, if block is defined to check string a value and return a value 0, and use the print method to print the given value, and call the above method fun.  

Choose all items that represent essential features of excellent navigation menu design.

uses clearly and simply labeled links

is consistently styled and located

contains a link to a site map

is intuitive and easy to use is available on all pages

in the site employs a drop-down list​

Answers

Answer:

A,B,D,E

Explanation:

Answer:

A- uses clearly and simply labeled links

B- is consistently styled and located

D- is intuitive and easy to use

E- is available on all pages in the site

To summarize means to
O. Directly quote the main idea
O. Communicate the main idea with supporting details
O. Explain the main idea’s significance
O. Condense the main idea into a few words

Answers

Answer:

To summarize is to explain the main idea in as few words as possible. So the answer is the last statement, to "Condense the main idea into a few words". Hope this helped.

Answer:

Its D

Explanation:

Hope it helped

Justify the following statement: “Some Americans’ sedentary lifestyles contribute to their poor health.”

Answers

It is essential that people are active in their lives to fulfill that basic biological need. This will allow blood flow to increase, which is beneficial for health. In addition, it can release healthy chemicals into the brain, which is beneficial for mood, energy, and well-being.

Answer:

Since the average American will spend 24 hours watching television per week, it is safe to say that they suffer from a lack of movement and exercise. This, in turn, will lead more Americans to be overweight and more likely to suffer from serious health problems! :)

Explanation:

Write a function that takes the name of a file with a .csv extension (a comma-separated value file), and writes a new file that is equivalent (same name and same data) but with a .tsv extension (a tab-separated value file: like a CSV but with tabs instead of commas separating the elements of the file). Note: the character used to represent a tab is ‘\t’.

Answers

Answer:

import pandas as pd

def convert_to_tsv( csv_filename ):

   df = pd.read_csv("csv_file")

   df.to_csv("csv_filename.tsv", sep='\t')

Explanation:

The python program uses the pandas' module to read in the csv file in the function "convert_to_tsv". The file is saved as a tsv file with the pandas to_csv method and the " sep= '\t' " attribute.

PLS help im in the middle of this test
If someone enjoys the technical aspects of production but does not enjoy working with a large number of people, which career option might be best?


photojournalist
videographer
camera operator
print journalist

Answers

Answer:

Videographer

Explanation:

They work with a small grade while the other have to have good people skills

Focusing on the general characteristics of a problem or object, while ignoring the details, is a technique called
O refinement
O abstraction
O decomposition
O pattern recognition

Answers

Answer:

Abstraction

Explanation:

In computer science, abstraction has a similar definition. It is a simplified version of something technical, such as a function or an object in a program. The goal of "abstracting" data is to reduce complexity by removing unnecessary information. At some level, we all think of computers in abstract terms.

BUYING A NEW COMPUTER
Scott is getting a new computer. He has three options for secondary storage. He could
choose
a 6TB hard disk drive
a 2TB solid state drive
a hybrid 500GB solid state with a 4TB hard disk
For each option provide some reasons why Scott may choose that option instead of the
alternatives.
IS​

Answers

6 TB- Choose this if you are getting the computer for work use, always pick the highest amount of storage for everyday use.

2TB SSD- This is the worst option because its the least among the others, but if you were just a game this may suit you.

500 GB SSD with 4TB- This would be the best option for someone who games, edits, or does graphics, because you get the storage but you also get 500 GB of SSD to load your software on, which will help it launch faster and run smoother.

What do you do when you have computer problems? Check all that apply. PLEASE HELP

Answers

Answer:

I ask my parents or call someone

Can you put the answers to the problem it would be a lot easier for me


And I would look up how to fix the problem on my own before paying someone....

Challenge #3: Create a network that keeps everyone connected even if one of the lines is cut Insert as many lines as needed

Answers

Answer:

To create a redundant computer network, The star network topology is adopted.

Explanation:

Note that topology is not a type of network but a top view of how the network looks like or is connected.

To make a network redundant, interconnect every computer to one another in the network, so even when a line or an ethernet cable ( the connector) makes, there is no loss of connection.

This form of network is not recommended for large computer networks as it would result in confusion due to excess connection cables running in the network.

Please Help!

Choose all items that are characteristics of placing nested elements on a new line, using indentation.


A) makes HTML errors difficult to find

B) not required by a web browser

C) can cause web page display errors

D) makes HTML analysis and repair easier

E) done automatically by HTML authoring software

Answers

Answer:

Its B,D,E

Explanation:

Got it right on e2020

Answer:

B). not required by a web browser

D). makes HTML analysis and repair easier

E). done automatically by HTML authoring software

Btw cause this class can be a pain here are the answers to the rest of the assignment.

Slide 7/12:

The missing element is

C). <p></p>

Slide 9/12:

The missing tag is:

B). an end (closing) a tag

Slide 12/12:

The missing character is

D). an angle bracket

Explanation:

I just did the Part 3 on EDGE2022 and it's 200% correct!

Also, heart and rate if you found this answer helpful!! :) (P.S It makes me feel good to know I helped someone today!!)

What is the MINIMUM number of paths that would need to be broken to prevent Computing Device A from connecting with Computing Device E? a) 1 b) 2 c) 3 d) 4

Answers

Answer:

The answer is "Option c".

Explanation:

In the given question the device A is connected by 3 wires, contributing all of them, which also includes several connector paths. When all the wires of A are broken down, and if all of this leaves no routes that can be used. Even so, if it is done to E, it's also linked to four different routes. Its solution would've been C because its value will be the MINIMUM.

Answer:

c

Explanation:

_________ is the primary measurement used to gauge your typing ability

Answers

Answer:

Words per minute

Explanation:

Find and Explain 3 different sources of Kinetic Energy in your house that are utilized on a daily basis?

Answers

1.)When you turn on a light with a traditional incandescent light bulb, it gives off two forms of energy. There is the visible light that you see, as well as the warmth that it generates

2.) When you place a frozen pizza in the oven, you are heating it up and raising its temperature

3.) A light fixture that is plugged into a wall outlet and is turned on is another example of electrical energy

Software licensed as proprietary

is usually free of cost often has lower quality than other types.

does not permit source code changes.

is rare in today's marketplace.

can be redistributed by the user at will.​

Answers

Answer:

Does not permit source code changes.

Explanation:

Answer:

does not permit source code changes.

Explanation:

Under fair use laws students can use as much digital content as they want as long as it is for educational purposes

Answers

Answer:

Is this a question you need help with or is it a fact that everyone should know?

Explanation:

any song recommendations, pls dont say 6ix9ine or lil pump

Answers

I actually do have one tho. Try Megan Tha Stallion.

Answer:

smash mouth "all star" is my fave or Imagine Dragons "Whatever it Takes"

Explanation:

What is the purpose of an End User License Agreement?

Answers

Answer: An End User License Agreement, or EULA for short, is a set of conditions under which a licensor gives a licensee permission to use a piece of intellectual property in the form of proprietary software. The licensor is the person or business that designed or developed the software.

Explanation:

NEED HELP ASAP!!!!!!!!!!

Which of the following demonstrates the difference between disk copying and disk imaging?
A) Disk copying moves the entire contents of one disk to another whereas disk imaging creates a compressed file for backup
B) Disk copying creates a compressed wile for backup whereas disk imagine moves the entire contents of one disk to another
C) Disk copying only records and stores
another disks auditory data whereas disk imaging only records and stores another disk's
VISUS data
D) Disk copying only records and stores another disks visual data whereas diskirmaging only records and stores another disk's
auditory data

Answers

Answer:

A

Disk copying moves the entire contents of one disk to another whereas disk imaging creates a compressed file for backup

Explanation:

Which of the following BEST describes the relationship between the Boston Marathon bombing and biometrics?

Answers

Answer:

Because of the newly developed biometric technology, the FBI was able to

quickly identify two suspects.

The blurry photos released by the FBI after the bombing prompted

researchers to improve their early biometric software.

Because biometric technology was unavailable at the time, the Boston

Marathon bomber remains at large.

The Boston Marathon bombing made researchers aware of how biometric

technology is sometimes useless and ineffective.

Explanation:

Which of the following is NOT a correct variable assignment?
O test = 98
Oname = "Ada"
O x = x + 1
O 5+ y = x

Answers

So the bottom ones such as x = x + 1 and 5 + y = x are incorrect because there not being initialized with any value. You can’t make a variable and say x = x + 1 without defining what x is.

Variables are simply the names given to memory location.

The incorrect variable assignment is (d) 5 + y = x

To assign a value to a variable, we make use of the following syntax:

variable = expression/value

The above syntax means that:

The variable will be on the left-hand side, while the values or the expressions will be on the right-hand side

Using the above highlights as a guide, we can conclude that:

(d) 5 + y = x is not a correct variable assignment

This is so because, it does not conform to the syntax of variable assignment

Read more about variable assignments at:

https://brainly.com/question/18522561

What can you do if brainstorming only gives you a small or incomplete idea?
A. Brainstorm again
B. Develop the idea through research
C. Develop the idea through a close reading of a literary text
O
D. All of the above

Answers

Answer:

D. All of the above

Explanation:

Tony, the team photographer, will be accompanying his college football team to their next away game. He will be shooting photos of his team in action on the field. Which equipment would be ideal for Tony to use for his work? A. suction mount B. shoulder mount C. pistol grip D. mini tripod E. crane

Answers

Answer:

I think shoulder mount

Explanation: because you’ll generally use a shoulder mount for video shooting or when you use heavy telephoto lenses.

The fireworks were a lantern in the sky

Answers

Answer:

So your saying thst when a firework blows then it is a big lantern in the sky???

Rayna wants to create an organizational chart in her document. Which of the following commands should she click in the Illustrations group?

Chart

Media

Screenshot

SmartArt

Answers

CHART
that’s my answer

Answer: Your real answer is SmartArt

Explanation:

PLEASE ILL MARK BRAINLIEST
A ____ is a distinctive characteristic of a virus or virus family.
(this is computer stuff)

Answers

Answer:

it is a capsid

why is it important to write something in the subject line of emails?

Answers

so the person can know what you want and it helps keep better track of emails and subject matters

Answer:To provide a topic for whatever is in your email

Explanation: without something in the subject line the email will most likely be inferred as a spam.

Do you guys know if there's a way for me to find a Google doc that I typed but forgot to save if you do it for points i will report please don't make me

Answers

Answer:

Usually, Google Docs save automatically. If you remember some keywords that you typed, try searching for it. For example, if you typed up a report about dogs, search "dogs" when you're on the Google Docs home screen.

Explanation:

If this doesn't help, leave a comment and I'll try to help more!

Answer:

if you remeber the name of the doc you wrote you can just search for it in google doc. google doc saves what you write so it should be in there

Explanation:

Elias is writing poems and is formatting several to fit on a page that has been divided into columns. Which column break would allow him to end one poem and start the next poem on the same page?

Question 6 options:
next page
sequential
text wrap
continuous

Answers

Answer:

Explanation:

Column break continous

What refers to the way players get personally involved in a game, with the ability to influence the outcome?
ludonarrative
interactive fiction
participant observation
player agency

Answers

Answer:

player agency

Explanation:

Answer:

I think it's player agency

Explanation:

Player Agency: The player's ability to impact the story through the game design or gameplay

Other Questions
WILL MAKR BRAINLIEST IF CORRECTWhich material rises from cracks in oceanic crust?dense crustmolten rockcontinental crustpillow-shaped rocks Give a possible factorization of the following polynomialEXPLAIN the behavior at each zero andhow that is represented in your function. How is the electoral college made up of 538 votes Solve two sevenths plus seven fourteenths MY BROTHER NEEDS A TUTOR ASAP, HE IS CRYING BECAUSE HE IS FAILING SCHOOL....xddPlease contact me, my number is 226-909-7821 Why was the Battle of Gettysburg a turning point in the Civil War People from the continent of _____ were the first to explore and map the earth. What is the value of y in the picture What is the value of x in the equation One-third x minus two-thirds = negative 18? 56 52 52 56 Need answer ASAP!!!! Being Timed A mitochondrion has two membranes. The inner membrane is highly folded, as shown in the diagram below.OutermembraneInnermembraneThe folds greatly increase the membrane's surface area. This improves the ability of the mitochondrion to dowhich of the following?O convert solar energy to chemical energyOdigest metabolic wastes in the organelleO produce ATP during cellular respirationmove the cell through water Plzzzzz cannn someone helppppp meeeeee 2. Sarah has some blue marbles, twice as many red marbles as blue, and 8 yellow marbles. If she has a total of 32 marbles, howmany red marbles does she have?A.8B.12C.16D.24 Example sentence of extrovert Based on the data, identify the temperature range at which the soybean leaves are producing the lowest amount of carbohydrate. What was the culture of the Middle Colonies like? There are 30 students Ms. Washingtons class. Sixteen of the students are in band. What percent of Ms. Washingtons class is in band? 1.Two cyclists are 7 miles apart when they begin biking away from each other in opposite directions. The speed of the first cyclist is 12 miles per hour. The speed of the second cyclist is b miles per hour greater than the speed of the first cyclist.How many miles does the first cyclist bike in 45 minutes? Select all intervals in which the function P(t) is decreasing Which approach is a positive way to deal with conflicts? how would you begin to clear a room?