On the internet, I found
Research topics
Artificial Intelligence
Computing and Mathematics
Cybersecurity
Data Science and Machine Learning
Embedded Systems and IoT
Process Management
Hope this helped :T
PLEASE HELP!!!
I was trying to create a superhero class code, but i ran into this error
File "main.py", line 3
def_init(self, name = "", strengthpts = 0, alterego = "", villain "", powers = "", motto = ""):
IndentationError: expected an indented block
Here is my actual code:
class superhero:
def_init(self, name = "", strengthpts = 0, alterego = "", villain "", powers = "", motto = ""):
# Create a new Superhero with a name and other attributes
self.name = name
self.strengthPts = strengthPts
self.alterego = alterego
self.powers = powers
self.motto = motto
self.villain = villain
def addStrengthPts(self, points):
# Adds points to the superhero's strength.
self.strengthPts = self.strengthPts + points
def addname(self):
if(self.name == "Dr.Cyber"):
print("My hero's name is Dr.cyber!")
elif(self.name == "Mr.cyber"):
print("My hero's name is Mr.cyber!")
elif(self.name == "Cyber Guy"):
print("My hero's name is Cyber Guy!")
else:
print("My hero doesn't have a name")
def addalterego(self):
if(self.alterego == "John Evergreen"):
print("Dr.Cyber's alter ego is John Evergreen")
elif(self.alterego == "John Silversmith"):
print("Dr.Cyber's alter ego is John Silversmith.")
elif(self.alterego == "Johnathen Grey"):
print("Dr.Cyber's alter ego is Johnathen Grey.")
else:
print("Dr.Cyber Does not have an alter ego")
def addpowers(self):
if(self.powers == "flight, super strength, code rewrighting, electronics control, psychic powers"):
print(fly. He is super strong. He can rewrite the genetic code of any object around him to whatever he wants.He can control surrounding electronics to do what he wants. He can move objects with his mind.")
else:
print(Fly. He can rewrite the genetic code of any object around him. he can move objects with his mind.")
def addmotto(self):
if(self.motto == "error terminated!"):
print("rewritting the code!")
else:
print("error eliminated!")
def addvillain(self):
if(self.villain == "The Glitch"):
print("Dr.Cyber's Arch nemisis is The Glitch.")
elif(self.villain == "The Bug"):
print("Dr.Cyber's Arch nemisis is The Bug.")
else:
print("Dr.Cyber has no enemies!")
def main():
newhero = superhero("Dr.Cyber", "John Evergreen", "fly. He is super strong. He can rewrite the genetic code of any object around him to whatever he wants.He can control surrounding electronics to do what he wants. He can move objects with his mind.", "The Glitch", "error terminated!", "0")
print("My Superhero's name is " + newhero.name + ".")
print(newhero.name + "'s alter ego is " + newhero.alterego + ".")
print(newhero.name + " can " + newhero.powers + ".")
print(newhero.name + "'s arch nemisis is " + newhero.villain + ".")
print("when " + newhero.name + " fights " + newhero.villain + ", he lets out his famous motto " + newhero.motto + ".")
print(newhero.name + " defeated " + newhero.villain + ". Hooray!!!")
print(newhero.name + " gains 100 strengthpts.")
main()
PLEASE ONLY SUBMIT THE CORRECT VERSION OF THIS CODE!!! NOTHING ELSE!!!
Answer:
you need to properly indent it
Explanation:
align your codes
Mark the other guy as brainliest, I'm just showing you what he meant.
I'm not sure if that's all that's wrong with your code, I'm just explaining what he meant.
Answer:
def_init(self, name = "", strengthpts = 0, alterego = "", villain "", powers = "", motto = ""):
# Create a new Superhero with a name and other attributes
self.name = name
self.strengthPts = strengthPts
self.alterego = alterego
self.powers = powers
self.motto = motto
self.villain = villain
def addStrengthPts(self, points):
# Adds points to the superhero's strength.
self.strengthPts = self.strengthPts + points
def addname(self):
if(self.name == "Dr.Cyber"):
print("My hero's name is Dr.cyber!")
elif(self.name == "Mr.cyber"):
print("My hero's name is Mr.cyber!")
elif(self.name == "Cyber Guy"):
print("My hero's name is Cyber Guy!")
else:
print("My hero doesn't have a name")
def addalterego(self):
if(self.alterego == "John Evergreen"):
print("Dr.Cyber's alter ego is John Evergreen")
elif(self.alterego == "John Silversmith"):
print("Dr.Cyber's alter ego is John Silversmith.")
elif(self.alterego == "Johnathen Grey"):
print("Dr.Cyber's alter ego is Johnathen Grey.")
else:
print("Dr.Cyber Does not have an alter ego")
def addpowers(self):
if(self.powers == "flight, super strength, code rewrighting, electronics control, psychic powers"):
print(fly. He is super strong. He can rewrite the genetic code of any object around him to whatever he wants.He can control surrounding electronics to do what he wants. He can move objects with his mind.")
else:
print(Fly. He can rewrite the genetic code of any object around him. he can move objects with his mind.")
def addmotto(self):
if(self.motto == "error terminated!"):
print("rewritting the code!")
else:
print("error eliminated!")
def addvillain(self):
if(self.villain == "The Glitch"):
print("Dr.Cyber's Arch nemisis is The Glitch.")
elif(self.villain == "The Bug"):
print("Dr.Cyber's Arch nemisis is The Bug.")
else:
print("Dr.Cyber has no enemies!")
def main():
newhero = superhero("Dr.Cyber", "John Evergreen", "fly. He is super strong. He can rewrite the genetic code of any object around him to whatever he wants. He can control surrounding electronics to do what he wants. He can move objects with his mind.", "The Glitch", "error terminated!", "0")
print("My Superhero's name is " + newhero.name + ".")
print(newhero.name + "'s alter ego is " + newhero.alterego + ".")
print(newhero.name + " can " + newhero.powers + ".")
print(newhero.name + "'s arch nemisis is " + newhero.villain + ".")
print("when " + newhero.name + " fights " + newhero.villain + ", he lets out his famous motto " + newhero.motto + ".")
print(newhero.name + " defeated " + newhero.villain + ". Hooray!!!")
print(newhero.name + " gains 100 strengthpts.")
main()
Why do we need to get the minimum and maximum resistance value of resistors?
Need the answer rn!!!!
Answer:
what language is this? english or no
Explanation:
hello guess what u want brainlyst answer this question if u like gacha life
Answer:
yesssssssssssssssssssss I doo
Yes, no, I WAS obsessed when I was like, 10,11?
Input a list of positive numbers, terminated by 0, into an array Numbers[]. Then display the array and the largest and smallest number in it.
Answer:
hope this helps and mark my ans brainliest if it helped.
Explanation:
def main():
Numbers = []
n = input("Enter the number: ")
while n != 0:
Numbers.append(n)
n = input("Enter the number: ")
if len(Numbers) > 0:
max = Numbers[0]
min = Numbers[0]
for i in range(0, len(Numbers)):
if max < Numbers[i]:
max = Numbers[i]
if min > Numbers[i]:
min = Numbers[i]
print Numbers
print "Largest: ", max
print "Smallest: ",min
main();
why do computer architects prefer memory dump to be in base 16
Answer:
We use hexadecimal numbers primarily because they provide a more human-friendly representation and it is much easier to express binary number representations in hex than in any other base number system.
Explanation:
You are an intern at Lucerne Publishing.
The company needs to use multiple versions of Microsoft Once on each machine in the editing department.
Which virtualization strategy should the company use?
Answer:
jvgbicgbvhkvfvuncj gjvfjvfk fj
What is the main difference between cell phone and mobile phone?
Answer:
A Cell Phone is, therefore, a mobile phone that works utilizing radio cells, which is an area of radio coverage. Cell phones can typically be used while moving from one cell to another without losing coverage or dropping the connection. Satellite phones are not cell phones, although they are mobile phones.
Explanation:
Cell phones are less sophisticated than mobile phones because they are older and more primitive.
Rachel wants to minimize project risks. Arrange the steps in an order that will correctly help Rachel and her team to minimize project risks.
Answer:
identify, evaluate, prioritize, and then control
Explanation: I got a 100% on my test.
John is directing a television series. He has to shoot a scene that presents the lead character in a dominating and commanding position.
What
shooting technique should he use?
(NO LINKS!!!!)
A low angle
B. high angle
C. Dutch tilt
D. front angle
Answer:
it is A or B
Explanation:
I know it is either A or B because I took the test and tried Dutch tilt n front angle, got them both wrong on my 1st and second try.
A website asks the user to enter his or her date of birth with the month first and then the day of the month. Describe what you could do to prevent problems with the code if a user enters the information in the wrong order by placing the day of the month before the month.
Answer:
Oh this is quite the good question, you could perhaps add a select or multiple choice box instead, or you could add boxes in the order that you want them to input.
Tell the story, step by step, of how your computer finds the CodeHS server,
Answer:
huh .......................................
Explanation:
what is the hardest codes to input
first to answer get brainlyiest
Answer:
computers
Explanation:
Explain the principle of a Kimball as a data input device
Answer:
k
Explanation:
bc i need points
Answer:
p=35
Explanation:
hoped this helped
how to get bing with any node unblocker
Answer:
rawr xD broooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Explanation:
UwUOwO<3convert this hexadecimal number to binary :. A07F
Answer:
101000000111
Explanation:
8.1.9: Cookout Orders
I don’t know what I’m doing wrong
Ps. Also if you could help me with 8.1.8 Citation, Thank you
Answer:
The correction to the code is as follows:
order_1 = ("Lee",0,2)
order_2 = ("Tamia",1,0)
order_3 = ("Edward",1,1)
print("You need to buy",order_1[-1],"hotdogs")
print("You need to buy",order_2[1],"burgers")
print("You need to buy",order_3[1],"burgers and",order_3[2],"hotdogs")
Explanation:
The first three lines of the program is bug free.
However, the last 3 print statements are not.
(1) The statement to be printed must be in open and close parenthesis
(2) Change the + to comma (,) because the print statement includes integer and string values
(3) Lastly, the tuple items in the last statement must be printed separately
Regarding the citation, could you please clarify what you need help with specifically. Are you referring to citing a source in a particular citation style, such as APA or MLA. Providing more information will allow me to assist you better.
Recitation refers to the act of reading or repeating something aloud, often from memory or a prepared text. It is commonly associated with the process of learning and reviewing information, particularly in educational settings. Recitation can take various forms depending on the context.
In an academic or educational context, recitation often refers to a supplemental session where a teaching assistant or instructor leads a small group of students in reviewing and discussing material covered in a lecture. During a recitation, students may be asked to answer questions, solve problems, or participate in discussions related to the subject matter.
Learn more about educational context on:
https://brainly.com/question/31199020
#SPJ6
Where does Reiner take eren after they have a fight?
Answer:
So Reiner And Bertoldt wanted to take Eren and Ymir to Marley, a nation on the other side of the ocean so they can be devoured and there power can be given to a warrior canidate.
Answer:
what season tho?
Explanation:
Reiner took eren to the Forest
15.Every CPU needs to:
a. Dissipate heat
b. Be refreshed by the computer's ROM
C. Spend time in the off state
Answer:
Dissipate heat
Explanation:
As CPU works efficiently while there is cool
The history of the Internet dates back to the 1960s, when a group of scientists at Stanford University were entrusted to design which of the following as part of the competition between the US and its then Cold War enemy, the USSR?
a main frame to siphon information
a super computer for the US government
a network of sophisticated computers
a computer to control weapons
Answer:
a network of sophisticated computers
Explanation:
This is an easy and simple read if you want to as well
https://cs.stanford.edu/people/eroberts/courses/soco/projects/2001-02/distributed-computing/html/history.html
How many slides would be in a PowerPoint presentation based on the formatting of the Word outline?
A. two
B. Three
C. Eight
D. Eleven
Answer:
A. two
Explanation:
can i have brainliest please
Answer:
Explanation:
It depends on how the presentation is organized. If there is one slide for each major section, then the answer is B. Three as there are 3 sections.
But if each outline has its own slide, then there will be D. Eleven slides.
You are an intern at Lucerne Publishing.
The company needs to use multiple versions of Microsoft Oce on each machine in the editing department.
Which virtualization strategy should the company use?
Answer:
Microsoft Application Virtualization (App-V)
Explanation:
Cloud computing can be defined as a type of computing that requires shared computing resources such as cloud storage (data storage), servers, computer power, and software over the internet rather than local servers and hard drives.
Generally, cloud computing offers individuals and businesses a fast, effective and efficient way of providing services.
In cloud computing, virtualization can be defined as a process which typically involves creating a virtual storage device, servers, operating system, desktop, infrastructure and other computing resources. Thus, virtualization is considered to be a building block (foundational element) of cloud computing as it powers it.
In this scenario, multiple versions of Microsoft Office are required to be used on each machine in the editing department. Thus, the virtualization strategy which the company should use is Microsoft Application Virtualization (App-V).
Microsoft Application Virtualization (App-V) refers to a virtualization and streaming software acquired by Microsoft from Softricity on the 17th of July, 2006. It is designed to avail software developers the ability to run, update and deploy (stream) software applications remotely to end users.
This ultimately implies that, end users could use multiple versions of a software application such as Microsoft Office 2013, 2016, etc., on each machine without having to worry about physically installing them on their Windows computer systems.
Name:
Computer Science
Modified
Python Coding Section C
Directions: Circle the best answer.
1. If the code below, what is the maximum amount of gold that can be in a treasure chest?
def treasure_chest():
gold = random.randint (1, 10)
print ("the treasure chest contains", gold, "pieces of gold.")
#Main program begins here
import random
player_gold = 5
print("There is a treasure chest here.")
treasure_chest()
+ None
C. Five
b. One
d. Ten
2. What is the output of this program?
def say_hello() :
print("Hello World)
say_hello)
say_hello
a. Hello world! Hello world!
b. "Hello World" "Hello World!"
C. Hello Hello
# None of the above
Answer:
The max Number would be D. TEN
Explanation:
Where it say the main program begins is where the use of import random is be using under the treasure chest function basicly the random.randint choose and random number between 1 through to 10..
4. What is the difference between trademarks and copyrights?
Answer:
Generally, copyrights protect creative or intellectual works, and trademarks apply to commercial names, phrases, and logos. ... Trademarks protect the use of a company's name and its product names, brand identity (like logos) and slogans.
Explanation:
What parts of a photograph determine whether a person looks quickly at a photo or studies it for a long period of time?( Minimum is a paragraph)
Does anyone know on Edg if you fail the Unit Test Review if it will let you continue onto the Unit Test? or do you have to pass the Unit Test Review first?
Answer:
You can't redo it but I also think you have to wait for the teacher to unlock the actual unit test.
Explanation:
PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!
Yolanda has created a spreadsheet containing student information about her homeroom class. She wants to color-code various parts of the spreadsheet so that the title in Row 1 appears on a blue background, the column headers in Row 2 appear on a pale green background, and the student data appears on a pale yellow background. How can she accomplish this task? This task contains the radio buttons and checkboxes for options. The shortcut keys to perform this task are A to H and alt+1 to alt+9.
A
Merge the cells that make up each section of the spreadsheet that she wants to shade.
B
Add thick box borders around each section of the spreadsheet that she wants to shade.
C
Add the appropriate fill color to each section of the spreadsheet that she wants to shade.
D
Add the appropriate font color to each section of the spreadsheet that she wants to shade.
Answer:
c
Explanation:
Consider the following code:
a = 3
b = 2
print (a ** b)
What is output?
O 8
O9
O 1
6
Explanation:
I think the output is 6
am not sure tho hope my answr helps
The purpose of data analysis is to filter the data so that only the important data is viewed.
False
True
Answer:
YES IT IS TRUE!
Explanation:
which operating systems have both workstation and server editions?
-ios
-android
-ubuntu
-windows
Answer:
WINDOWS
Explanation:
The operating system that have both workstation and server editions is windows. The correct option is D.
What is an operating system?The operating system (OS) controls all of the computer's software and hardware. It basically manages files, memory, as well as processes, handles input along with output, and controls peripheral devices such as disk drives and printers.
The most chief software that runs on a computer is the operating system. It is in charge of the computer's memory, processes, as well as all software and hardware.
Several computer programs typically run concurrently, all of which require access to the computer's processor (CPU), memory, and storage.
Operating systems now use networks to connect to one another as well as to servers for access to file systems and print servers. MS-DOS, Microsoft Windows, and UNIX are the three most popular operating systems.
Thus, the correct option is D.
For more details regarding operating system, visit:
https://brainly.com/question/6689423
#SPJ2