What is the output?

class car:

model = "

age = 0

myCar = car()

myCar.age= myCar.age + 10

print(myCar.age)

Output: ___

Answers

Answer 1

Answer:

10

Explanation:

# A class named car is created

# There are two variables in the class, model and age.

# model is a string holding value for the model of the car.

# age is an integer holding value for the age of the car.

class car:  

   model = ''   # model is initialized as empty string

   age = 0       # age is initialized as 0

myCar = car()    # creating a car object named myCar

myCar.age= myCar.age + 10   # the value of the age is updated by adding 10. (Note that myCar was our object. If we want to access any properties of the object, we type the object name, . , and the property name. Initially, age was 0, we added 10 to it and it becomes 10)

print(myCar.age)    #prints the age of the myCar object, 10


Related Questions

Chapter
2
SAFETY GUIDELINES
OBJECTIVES
1. Which of the following is a safety device?
(a) dashboard (b) steering wheel (c) seat
(d) seatbelt​

Answers

Answer:

Seatbelt

Explanation:

The seatbelt allows everyone in the car to remain safe and steady going at certain high miles per hour. None of the other options were made for safety only. Please name brainliest!!!

1.
Why do you need to use sources of information when writing a formal business
document?

Answers

Answer:

You need sources of information when writing a formal business document because, if the person receiving the document would like to see the full source you got your information from it could help them understand better what they are reading. Also it looks more professional.

Explanation:

b) State 4 purposes of word
processing​

Answers


Creating, editing, saving and printing documents.
Copying, pasting, moving and deleting text within a document.
Formatting text, such as font type, bolding, underlining or italicizing.
Creating and editing tables.

(20points)
Why did Jinny get an error when she tried to use the variable 1stName?

Variables should be two words.
Variables cannot begin with a digit.
Variables should start with a number.
Variables should always be camelCase

Answers

Answer:

PLEASE LISTEN TO ME!! THE OTHER ANSWER IS WRONG!

Explanation:

The correct anwer is "Variables cannot begin with a digit"

how was internet developed?​

Answers

Answer:

The first workable prototype of the Internet came in the late 1960s with the creation of ARPANET, or the Advanced Research Projects Agency Network. ARPANET adopted TCP/IP on January 1, 1983, and from there researchers began to assemble the “network of networks” that became the modern Internet.

Explanation:

Line charts are best used for

Answers

Answer:

the answer is a

Explanation:

........

Answer:

A, presenting data that changes as a function of time.

______________________________________________

*rate this answer and say thanks please!

Tina reported a safety hazard at her workplace to OSHA. Representatives from OSHA came to her work and inspected the issue, then gave her employer a citation. The day after Tina's employer received the citation, Tina was given new jobs which were menial and difficult. Which of Tina's rights under OSHA was violated in this situation?

A) Freedom from retaliation for exercising safety and health rights

B) Knowledge of hazardous workplace conditions

C) Obtaining training as provided in the OSHA standards

D) Access to hazard exposure and medical records

Answers

Answer:A freedom from retaliation for exercising safety and health rights

Explanation:

What are the five generations of computers?​

Answers

Answer:

First Generation, Second Generation, Third Generation, Fourth Generation, Fifth Generation

Explanation:

First Generation- Vacuum Tubes

Second Generation- Transistors

Third Generation- Integrated Circuits

Fourth Generation- Microprocessors

Fifth Generation- Artificial Intelligence

Please help with my assignment! Use python to do it.

Answers

Answer:

I cant see image

Explanation:

can you type it and I'll try to answer

100 POINTS PLEASE HELP Type the correct answer in the box. Spell all words correctly.
John wants to use graphical elements on his web page. Which image formats should he use to keep the file size manageable?
John should use______ formats to keep the file size manageable.?

Answers

Answer:

On a Web page, we'll assume he'll have simple graphic elements like icons, or other simple low-resolution and a lower number of colors (256-), these are usually better saved in GIF format to take less space, just because of the smaller color map, but PNG could also do a great job and  it offers transparency as well (like GIF does).  For more complex elements (larger size and/o more colors like photos), the best format to save them is probably the PNG one.  They will be compressed but still offer a great quality.

Explanation:

100 points yay

But I have only 50

explain why it is important to follow a course or a program in keeping with your value system​

Answers

Answer:

The American educational system offers a rich set of options for the foreign student. There are such a variety of institutions, programs, and places to choose from that the choice can be overwhelming for students, even those from the United States. As you begin your search for institutions, it is important that you familiarize yourself with the American educational system. Understanding the system will help you narrow down your options and develop your educational plan.

Explanation:

Sorry if it doesn't look like the question.

A(n) ________ is a chart based on PivotTable data.
(Microsoft Excel)

A. Slicer

B. PivotChart

C. Filter

D. Sort

Answers

Well since it’s a chart based on a PivotTable prettyyyy sure it’s gonna be a PibltChart

3. What is the value of a 4-band resistor which has the first band - Green, the
second band - Blue, the third band- orange, the fourth band - Gold?
A. 56K + 10% B. 56K + 5%
C. 5.6K + 5%
D. 56K + 2%​

Answers

Answer:

56000 with a tolerance of 5%

Explanation:

5 6 + 3 zeros

3 is orange so that means you add 3 zeros when the orange band is present in the third position.

Green is 5

Blue is 6

Gold in the 4th band is the % tolerance. Gold is a 5% tolerance which mean that the real value is 5% either side of 56000/

The answer is B

Which of the following is the ONE most important thing to be done before working on any electrical device? a Remove each source of electricity b Ground yourself c Shut Down d Turn it off

Answers

Answer:

b

Explanation:

because evven tho it can turn of doesnt mean the eletricity will stop

9) All of the following statements about data mining are true EXCEPT: a. Its techniques have their roots in traditional statistical analysis and artificial intelligence. b. The term is relatively new. c. Intense, global competition make its application more important. d. The ideas behind it are relatively new.

Answers

Answer:

b. The term is relatively new.

Explanation:

A database management system (DBMS) can be defined as a collection of software applications that typically enables computer users to create, store, modify, retrieve and manage data or informations in a database. Generally, it allows computer users to efficiently retrieve and manage their data with an appropriate level of security.

Data mining can be defined as a process which typically involves extracting and analyzing data contained in large databases through the use of specialized software to generate new information.

All of the following statements about data mining are true;

I. Its techniques have their roots in traditional statistical analysis and artificial intelligence.

II. Intense, global competition make its application more important.

III. The ideas behind it are relatively new.

However, data mining is a process that has been in existence for a very long time and has significantly impacted workflow management, communication and other areas.

In conclusion, computer database contain the records about all the data elements (objects) such as data relationships with other elements, ownership, type, size, primary keys etc. These records are stored and communicated to other data users when required or needed.

What is the function of this logical comparator! =?

Answers

Answer:

See explanation

Explanation:

!= means not equal

The given operator is not a logical operator but rather a comparison operator.

It compares two expressions, values or variables and returns true if the items being compared are not equal.

1. Define Validation Rule

4. A software that makes it much easier to modify and update documents.

Answers

Answer:

1. A Validation Rule is a rule given to a field that ensures that the attribute of data entered into the field meets the set criteria of the field before the data can be saved. The question asked by the field is either 'Yes' True or 'No' False, with the required answer being Yes or "True"

2. Compressed hours

Compressed hours is work mode where employees are allowed to do the number of hours to which they are contracted over a less number of working days

3. Microsoft Access

Microsoft Access is designed to automatically save data entered into forms as the user moves between records or when the form being worked on is closed thereby, ensuring  that data loss is prevented even when the form is closed after an edit is made

4. A document editor

A document editor can be used for the creation of new document and editing existing documents of different file types

Explanation:

You manage a network that uses a single switch. All ports within your building connect through the single switch. In the lobby of your building are three RJ45 ports connected to the switch. You want to allow visitors to plug into these ports to gain internet access, but they should not have access to any other devices on your private network. Employees connected throughout the rest of your building should have both private and internet access. Which feature should you implement

Answers

Answer:

VLANs

Explanation:

Virtual LANs (VLANs) are a type of network connection or arrangement of network devices in the same broadcast domain. They are called Virtual LANs because they represent fractions or subgroups in the switch ports found in an Ethernet LAN.

Indeed, because of their topological arrangement, this reduces the security risk of unauthorized access to sensitive data or devices since the host can be placed on a different VLAN. Hence, in this scenario, using this network feature would allow visitors to plug into these ports to gain internet access, but they would not have access to any other devices on the private network.

Write IF() function for student 3, If total mark is greater than 10 then print
the text “you have scored good" else print“ you need to improve" *

Answers

Answer:

Explanation:

The following code is written in Java. The if() function is actually called an if statement. The following code can be copied and pasted where you need as long as it is within the scope of the mark variable in order to call it and compare it to 10

if (mark > 10){

           System.out.println("you have scored good");  

       } else {

           System.out.println("you need to improve ");

       }

Help! Will add the brainliest.

Which of the following is a tip for getting a good pet photograph?

A. Always stand when taking the picture to keep the pet away from the camera.
B. Show the pet's personality.
C. Avoid having others with you.
D. All of the above

Answers

Answer:

Show the pet's personality

Explanation:

You want to get to know an animal when you look at their photo. If they are smiling then that will show how happy they are! Also, A is incorrect because sometimes you want to be on the same level as your animal. So crouch down and take that close up! And C is wrong because sometimes it is helpful for someone else to be there.

Find the total cost of a $125 coat purchased in Los Angeles County where the sales tax is 9%. Use the expression c + 0.09c
A
$11.25
B
$112.50
c
$126.25
0 $136.25

Answers

The answer is B I believe

g o o g l e h a n g o u t ??

Answers

G Hangouts is a cross platform messaging app developed by G. Originally a feature of G Plus, G Hangouts became a stand-alone product in 2013.

PLEASE HELP WITH KHAN ACADEMY WILL GIVE BRAINLIEST!!!!!!!!!!!!!!!!!!!!!!!!

Answers

Answer:     c !    :-)

Explanation:


What is the default view in a Word document? (5 points)
Copy View
Editing View
Paste View
Reading View

Answers

Answer:

EDITING VIEW

Explanation:

Although Microsoft word has several different ways you can view or edit your documents.
The Default View is Editing View.

snoopdog is 420 in dog years

Answers

lol are yhu good????

Answer:

really wow that’s cool

Which of the following are logical reasons for using a pie chart to show how employees spend their time at ABC organization? Choose all that apply.

Answers

The logical reasons for using a pie chart to show how employees spend their time at ABC organization are;

the pie chart will help to show breakdown of hours worked by all employees at ABC organization.The pie chart works well to show changes in productivity over the course of a year.The pie chart works well to show trends in data.

What is a pie chart ?

A pie chart  can be regarded as a circular statistical graphic, partitioned to slices to illustrate numerical proportion.

With the use of this pie charts, the ABC organization can be able to know breakdown of hours worked by all employees at ABC organization , hence option 1,2,4 are correct.

Learn more about pie chart  at;

https://brainly.com/question/8407283

Answer:

A, C

Explanation:

its a and c your welcome

youre content and design should be influenced by the _______ of your users

a. age
b. goals
c. mood
d. attitude

i already know the answer 90%
im just making sure

Answers

b. im pretty sure lol.
B because it’s make more sense

WHAT DOES THE SCRATCH CODE BELOW DO?

Answers

I think it’s b vertically

Answer:

It is horizontal by 10.

Explanation:

The x axis is horizontal which is left and right. On the other hand, the y axis is up and down which is vertical.

A stairway has 6 steps. Is a handrail required?

A) A handrail is required

B) A handrail is not required

C) Double handrail are required

D) Only noising is required.

Answers

Answer:

A. A handrail is required

Answer:

t think its A, a handrail is required

what does do?
Choose all the answers that are correct:
A) it makes the font change color
B) it says "hi"
C) it changes the font
D) it says "Color hi"
E) It says "Color"

Answers

in my opinion this questions answer is E
Other Questions
15 points to the first correct. The process of blank generates a molecule of mRNA while the process ofblank generates a polypeptide.DNA Synthesis & Translation Translation & TranscriptionDNA synthesis & Transcription Transcription & Translation The mean and the average are the same number A company that manufactures calculators has determined that for every 500 calculators they make, 12 of them are defective. If this company makes 3,000 calculators in a week, how many should they expect to be defective? A.2B.6C.18B.72E.83 find the percentage of mass in each of the element Ca ( HCO3)2 (Ca= 40, H = 1, O = 16, C= 35) Please give 4 important points about the Louisiana Purchase. In which year did the Denkyira people defeat the Adansi people? Write the system of equationsC + V = 404C + 6V = 180 In QRS, q = 4.9 cm, r = 7.1 cm and S=70. Find the area of QRS, to the nearest 10th of a square centimeter. what were the essential services that were not suspended during lockdown Four different living organisms are shown below. Which statement is true for all of the organisms shown? The organisms are an ameba rabbit human and tree Which arrangement of electrons is correct? Help please its timed!!! NO LINKS Select each ordered pair that is a solution of 5x+4y>7. What is the distance between two and thirty six? Meg colored 3/8 of the tiles for a class art project. Max colored 4/15 of the tiles. What fraction of the tiles did Meg and Max color in all? 15 meters increased by 36% meters HELP PLEASE AND NO LINKS!!!!!!The length of a rectangle is twice its width. Given the length of the diagonal is $5\sqrt{5}$, find the area of the rectangle. Madison is saving nickels. She saves 1 nickel the first day, 2 nickels the second day, 3 nickels the third day, and so on for 15 days. At this rate, how much money will she save over the 15 day period Can anyone please tell me if they did this page and found the answers???? What are some ways scientists can study the seafloor?