Databases maximize isolation; this means applications and data are not linked to each other, so all applications are able to access the same data independently.
Isolation ensures that each application operates in its own separate environment, with its own set of data, without interference or dependency on other applications.
This provides a level of independence where applications can function autonomously, accessing and manipulating the data they require without being affected by or impacting other applications.
Isolation also offers security and protection, as applications cannot directly access or modify data associated with other applications, maintaining data integrity and preventing unauthorized access or interference.
Learn more about Databases here
https://brainly.com/question/11870957
#SPJ4
Which should be addressed by stakeholders when reviewing the problem statement? Select all that apply.
All possible outcomes have been thoroughly researched and rejected.
The problem as they see it has been addressed.
The solution proposed will meet their needs.
The needs of their colleagues are being met.
All issues and constraints have been identified.
The statement that should be addressed by stakeholders when reviewing the problem statement are the problem as they see it has been addressed, the solution proposed will meet their needs and all issues and constraints have been identified.
What are the elements of an effective problem statement?An effective problem statement includes the description of the problem and the method that will be used to solve the problem.
The problem as they see it has been addressed, the solution proposed will meet their needs and all issues and constraints have been identified are the statement that should be addressed by stakeholders when reviewing the problem statement.
Therefore, B, C and E are the correct options.
Learn more about problem statement here:
https://brainly.com/question/11657822
#SPJ1
A small manufacturing business wants to hire a landscaping service to
maintain its lawn. The purchasing department has narrowed its choices to
Tom's Green Thumb and M&C Minions. Jillian wants to research customer
reviews before writing a recommendation. Which online search method
would be most helpful?
O
A. Use an online catalog to search for "choosing a landscaper."
) B. Use the company's database to find records of past landscaping
choices.
C. Use a search engine to search for "Tom's Green Thumb reviews"
and "M&C Minions reviews."
D. Use a search engine to search for "top 10 landscapers" or "best
landscaping tips.
Answer:
C. Use a search engine to search for "Tom's Green Thumb reviews"
and "M&C Minions reviews."
Explanation:
Reviews from a search engine are the best recommendation.
what page number does word give to a cover page?
Answer:
0
Explanation:
Technically, the cover page has a page number of 0 since the following page number is 1, but it is not displayed.
0-page number does word give to a cover page.
What is cover page?On the cover page, you should include the name of your institution, the title of your paper, your name, the name of your course, the name of your teacher or professor, and the due date for the paper.
On the Insert tab, select Cover Page. Pick a cover page design from the gallery's options. You can update a cover page after you've inserted it by clicking on a particular area, such the title, and inputting your own text to replace the example text.
In APA Style, the cover page is referred to as the title page. Students should follow the guidelines given by their instructor when choosing the appropriate format for their title page.
This page should include other significant information in addition to the document's title, but the specifics of the cover page layout will vary depending on the document.
Thus, it is 0-page.
For more information about cover page, click here:
https://brainly.com/question/4755940
#SPJ12
. Within function empty(), write the Boolean expression to determine if the list is empty. Do not put spaces in your answer. That is, X=-Y is okay, but X == Y is not. 2. True or False: Removing the last element from the list conditionally requires setting sentinel._next to nullptr. 3. Implement push_front(data) in 5 lines of code. Do not separate identifiers and operators with spaces, but do separate identifiers with a single space. That is, X=Y and new Data are okay, but X = Y, newData , and new Data are not. Don't forget your semicolon. template void DuublyLinkeList:: push_front( const 1 & data) { // 1. Get and initialize a new dynamically created Node called newNode // 2. Set the new node's next pointer to point to the first node in the list // 3. Set the new node's previous pointer to the list's dummy node // 4. Set the first node's previous pointer to point to the new node // 5. Set the dummy node's next pointer to point to the new node } ******** ****** ** Class DoublyLinkedList - a very basic example implementation of the Doubly Linked List Abstract Data Type ** This file provides a one-dummy node, circular implementation of the DoublyLinkedList interface ** Empty (size = 0): V V I prev | not used | next ** sentinel A A A begin( (aka head, sentinel.next) tail (aka sentinel.prev) end size = 3: -+ 1 +- ------ I - prev | not used | next |----> prev | data | next |----> prev data | next <---> prev | data | next |---- -- | sentinel A A A A 1 1 1. 1. end() tail (aka sentinel.prev) begin() (aka head, sentinel.next) **** */ #pragma once #include size_t #include length_error, invalid argument #include "DoublyLinkedlist.hpp" ******** *******/ ***** ******** 事 ********/ /***** ** DoublyLinkedList with one dummy node function definitions namespace CSUF::CPSC131 { /**** ** A doubly linked list's node ************ template struct DoublyLinkedList::Node { Node() = default; Node const Data_t & element ) : _data( element) {} Data_t_data; linked list element value Node * _next = this; next item in the list Node * _prev = this; previous item in the list 11 // ************ *********** ***/ /****** ** A doubly linked list's private data implementation template struct DoublyLinkedList::PrivateMembers A specific implementation's private members (attributes, functions, etc) { Node _sentinel; dummy node. The first node of the list (_head) is at _sentinel->next; Node *& _head = _sentinel._next; An easier to read alias for the list's head, which is a pointer-to-Node Node *& _tail = _sentinel._prev; last element in the list. tail->next always points to _sentinel std::size_t _size = 0; number of elements in the collection }; template typename DoublyLinkedList::Iterator DoublyLinkedList:.insertBefore( const Iterator & position, const Data_t & element ) { Node * newNode = new Node( element ); create and populate a new node newNode->_next = position(); newNode->_prev = position->_prev; position()->_prev->_next = newNode; position() ->_prev = newNode; ++self->_size; return newNode; } template typename DoublyLinkedList::Iterator DoublyLinkedList:.remove( const Iterator & position ) { if( empty ) throw std:: length_error ( "Attempt to remove from an empty list ); if(position == end()) throw std::invalid_argument( "Attempt to remove at an invalid location" ); position()->_next->_prev = position()->_prev; position->prev->next = position ->next; --self->_size; Iterator returnNode( position()->_next ); return the node after the one removed delete position(); delete what used to be the old node return returnNode; } template typename DoublyLinkedList::Iterator DoublyLinkedList::end() const { return &self->_sentinel; } template typename DoublyLinkedList::Iterator DoublyLinkedList::rend() { return &self->_sentinel; } const
This program is about the implementation of a doubly-linked list data structure.
1). The boolean expression required in the empty method of the data structure is _head==nullptr. It the expression is true it means the list is empty because the head is not pointing to any node.
2). This is true only if the last node is currently pointed by _sentinel. Otherwise putting any node's next pointer to nullptr will just break the link and not remove the last node.
3). 1). Just like it is done in the method insertBefore()
Node *newNode = new Node(data);
2). assign the head of the list to the next pointer of the new node.
newNode->next = _head;
3). Don't know which node is the list's dummy node as it is not given, I. am assuming _sentinel to be one.
newNode->prev = _sentinel;
4).
_head->prev = newNode;
5).
_sentinel->next = newNode;
To know more about Boolean expression, click on the link :
https://brainly.com/question/30060125
#SPJ1
Uploading Your Work
Assignment Upload: Using PowerPoint
Active
Instructions
Click the links to open the resources below. These resources will help you complete the assignment. Once you have created your
file(s) and are ready to upload your assignment, click the Add Files button below and select each file from your desktop or network
folder. Upload each file separately.
Your work will not be submitted to your teacher until you click Submit.
Documents
Uploading Your Work Directions
Clip Art and Media Clips Student Guide
Animations and Photo Albums Student Guide
Customizing SmartArt Graphics and Tables Student Guide
Don’t know how to do this and could really use some help please!!!!!!!
Answer:
Easy all you have to do is upload one assignment at a time and follow all the other directions!
Explanation:
_Hope_this_helps! >O<
need help!!!!!!!Write a 200 word paper on the new developments, describing how these effect the telescopes, and in what environments these work best.
Answer:
Development in science and technology have improved many things.It make the trains more better and comfortable . It has replaced steam engine. Development in science and technology have improved our life easier. Because of science and technology modern scientists have made many things like Metro train , Aeroplane , Modern engine etc. Now anyone can go any part of the world because of the help of development in science and technology. Now their are many way for growing crops, It helps the farmer very much.
Explanation:
Subject me not to trials,shame not my human form. "Explain".
A girl living in a society where everyone has plastic surgery makes her feel increasingly out of place in the Korean body horror short Human Form.
What is Human form?
This animated short is a commentary on plastic surgery and humanity's obsession with what is considered to be "beauty," where we frequently idolize appearances.
It are impossible to achieve naturally and judge natural appearances as not looking "good enough" (which makes everyone a potential "fixer-upper" and gives the beauty industry more and more profits).
And given that several Asian nations have absurd beauty standards, this South Korean short is the ideal commentary on everything.
Therefore, A girl living in a society where everyone has plastic surgery makes her feel increasingly out of place in the Korean body horror short Human Form.
To learn more about Human form, refer to the link:
https://brainly.com/question/8509952
#SPJ5
Answer:
The poet seems to be humiliated and condemns himself for being human just physically. He is sure if Allah subjects him to examination, he would not be successful in it because he cannot tolerate or withstand them like a perfect human being.
Explanation:
Hope it will help ...✨✨What is the best CPU you can put inside a Dell Precision T3500?
And what would be the best graphics card you could put with this CPU?
Answer:
Whatever fits
Explanation:
If an intel i9 or a Ryzen 9 fits, use that. 3090's are very big, so try adding a 3060-3080.
Hope this helps!
Explain the expression below
volume = 3.14 * (radius ** 2) * height
Answer:
Explanation:
Cylinder base area:
A = π·R²
Cylinder volume:
V = π·R²·h
π = 3.14
R - Cylinder base radius
h - Cylinder height
What is lost when the computer is turned off
Answer:
your computer's RAM loses its data when the power is off
NEED Help
4.8.6 All Dice Values Codehs
Note that there is a syntax error in the code. The semicolon at the end of the first line should be a colon. Here is the corrected code:
for i in range(1, 7):
for x in range(1, 7):
print((i, x))
What is the explanation for the above response?With this correction, the code should work properly by printing all possible pairs of numbers between 1 and 6 using nested loops.
Nested loops refer to the concept of having one loop inside another loop. The inner loop runs for each iteration of the outer loop, leading to a set of repeated iterations. Nested loops are commonly used for tasks such as iterating over multi-dimensional arrays or performing operations on every combination of two sets of data. However, care must be taken to avoid creating infinite loops.
Learn more about syntax error at:
https://brainly.com/question/28957248
#SPJ1
Full Question:
Although part of your question is missing, you might be referring to this full question:
All dice values. I don’t understand how this wrong. See attached image.
How did scientists make the discovery that brains change when they learn new things? Please, if possible can you answer in four complete sentences?
Scientists have discovered that the brain changes when people learn new things through the use of neuroimaging techniques, such as MRI scans, EEG, and PET scans.
These technologies allow researchers to monitor changes in brain activity and connectivity as people engage in learning and other cognitive activities.
Neuroimaging studies have shown that when people learn new skills or information, specific regions of the brain become more active or form new connections with other regions. For example, learning a new language can lead to changes in the size and connectivity of the brain's language centers.
Additionally, neuroplasticity, the brain's ability to adapt and reorganize itself in response to new experiences and learning, plays a crucial role in these changes. Through repeated practice and exposure, the brain can create new neural pathways and strengthen existing ones, leading to lasting changes in cognition and behavior.
Overall, the use of neuroimaging technologies has greatly enhanced our understanding of how the brain changes when people learn new things and has opened up new avenues for research into neuroplasticity and cognitive development.
For more questions on MRI scans:
https://brainly.com/question/3184951
#SPJ11
source intends to use any one of the following two strategies, to transmit independent and equiprobable BITS B
1
,B
2
∈{−1,1} over an INDEPENDENT GAUSSIAN NOISE CHANNEL; Treat the BITS as BERNOULLI 1/2 random variables and V
i
:i∈{1,2} as zero mean INDEPENDENT Gaussian r.vs with variance σ
2
. Assuming (Single BIT per channel use): Y
1
=B
1
+V
1
Y
2
=B
2
+V
2
Devise a suitable Inferencing rule For detecting bits B
1
and B
2
, when Measurements at the receiver's side are available as Y
1
=y
1
and Y
2
=y
2
Determine the Prob(ERROR). \begin{tabular}{|l|} \hline Assuming (WITH PRE-CODING): \\ Y
1
=B
1
+B
2
+V
1
\\ Y
2
=B
1
−B
2
+V
2
\end{tabular} Compare the Prob(ERROR) in both cases and comment!!
For the independent and equiprobable BITS B1 and B2, the optimal inference rule is to compare Y1 and Y2 to determine B1 and B2. The probability of error depends on the noise variance.
In the first case without pre-coding, the inference rule is to compare Y1 and Y2 individually with a threshold of zero. If Y1 > 0, then B1 = 1; otherwise, B1 = -1. Similarly, if Y2 > 0, then B2 = 1; otherwise, B2 = -1. The probability of error can be calculated based on the error probability of individual Gaussian variables.In the second case with pre-coding, the inference rule involves adding Y1 and Y2. If Y1 + Y2 > 0, then B1 = 1; otherwise, B1 = -1. The inference for B2 depends on the subtraction Y1 - Y2. If Y1 - Y2 > 0, then B2 = 1; otherwise, B2 = -1. The probability of error in this case can also be determined based on the error probability of Gaussian variables.Comparing the probabilities of error in both cases would require specific values for the noise variance (σ^2) and a comparison of the error probabilities calculated based on those values.
To know more about noise click the link below:
brainly.com/question/29991623
#SPJ11
To help ensure that an HTML document renders well in many different web browsers, it is important to include which of the following at the top of the file. an tag a doctype declaration a tag a tag
Answer:
A Doctype
Explanation:
When we first make a HTML document, we ALWAYS add a doctype on the 1st line. It is standard for coders to do so.
Answer:
I think it is:
B. a doctype declarationExplanation:
Answer urgently needed!!!
•write 5 differences between pin and password
Answer: Here Are Some Of Them
a Personal Information Number (PIN) allows you to prove that you're you, so that no one else can access your data. The obvious difference is that a PIN is limited to numerical digits (0-9), while a password can contain numerical digits, upper- and lowercase letters, and punctuation. PINs can facilitate a quicker, more usable experience. Signing in with a shorter PIN code instead of a password might help somewhat with issues related to password usability and fatigue. Signing in with a shorter PIN code instead of a password might help somewhat with issues related to password usability and fatigue
Explanation:
If you want to change a number in a cell, you must delete it first before entering a new number
True
False
This is with Google Sheets.
Answer:
true
Explanation:
hope this helps.................
In what decade was the five-digit zip code first implemented?
The postal zone number in a particular city is "16." A more structured system was required by the early 1960s, and on July 1, 1963, five-digit ZIP Codes were made optional nationally.
TL;DR: A "Zone Improvement Plan" (ZIP Code) or ZIP Code employs 5 numbers to direct mail delivery to a certain post office or region. When the ZIP code was first adopted on July 1, 1963, it was a component of the Postal Service's wider Nationwide Improved Mail Service (NIMS) initiative to speed up mail delivery. The ZIP stands for Zone Improvement Plan. A specific collection of American states is represented by the first digit of a ZIP code. A territory in that category, such as a big city, is represented by the second and third numbers. Only the first five digits of the ZIP code are needed in order to send mail.
To learn more about Codes click the link below:
brainly.com/question/497311
#SPJ4
a statement or account giving the characteristics of someone or something is called?
Pa-sagot po pls need ko na po ng answer rn.Thank you so much po in advance
REPORT
✔︎Naghahakot ng pts
✔︎Non sense answer
Brainliest
✔︎RIGHT ANSWER
a statement or account giving the characteristics of someone or something is called description.
I hope it's help ^^
Mỗi tháng, con vịt nhà em đẻ được khoảng từ 30 trứng đến 50 trứng tùy phong độ. Giá bán mỗi trứng là 2000Đ/ 1 quả. Viết chương trình nhập vào số trứng mà vịt nhà em đẻ trong 1 tháng bất kỳ, tính và in ra màn hình số tiền thu được khi bán trứng
Answer:
có con cặc
Explanation:
Next, Leah wants to add a content slide that allows her to insert a table.
Which tab should she click to complete this action? Home
What should Leah click to open a dialog box to select the slide she needs? New Slide down arrow
What should Leah do to access the notes pane of the slide she added? V Click Notes expander.
Multi media design
Answer:
1. Home
2. New slide down arrow
3. Click Note expander
Explanation:
Home tab should she click to complete this action.
The New Slide down arrow should Leah click to open a dialog box to select the slide she needs.
Click Notes expander should Leah do to access the notes pane of the slide she added.
What is a content slide?A collection of polished presentation templates is called the Presentations Content Slides. The site provides stunning infographics and PowerPoint illustrations that are laid out in a bullet point structure. Regardless on how many evaluation tools are provided, the main layout is one to three.
Select the button next to "New Slide" on the Home tab. Choose the layout visitors want and a new slide from the layouts collection.choose "New Slide" Make your layout selection in the New Slide dialogue box for any new slide. Study slide layouts in more detail.You can add extra information to presentations that doesn't show up on slides in the Notes pane.Learn more about content slide, here:
https://brainly.com/question/4214795
#SPJ6
how do you know that the levers used are first class levers
If the fulcrum is closer to the load, then less effort is needed to move the load a shorter distance. If the fulcrum is closer to the effort, then more effort is needed to move the load a greater distance. A teeter-totter, a car jack, and a crowbar are all examples of first class levers.
60 points for this!!!!!!!!!!!!!!!!
Answer:
you can convert that to word document and aswer and edit every thing
Explanation:
Explanation:
it is clearly not visible
please send me again
What should I watch on Netflix (shows for a 14 year old) ?
Answer:
The flash
Explanation:
Answer:
Im not a big horse fan but loved this show its called free rein
Explanation:
loved itttttt!
Which of the following does not properly nest control structures?
Pilihan jawaban
for i in range(3):
for j in range(6):
print(j)
for i in range(3):
if i > 2:
break
else:
print(i)
count = 0
if count < 10:
for i in range(3):
print(count)
count = count + 1
count = 10
for i in range(3):
if count > 0:
print(i)
else:
print(count)
Using the knowledge in computational language in python it is possible to write a code that following the properly nest control structures.
Writting the code:# Prints out the numbers 0,1,2,3,4
for x in range(5):
print(x)
# Prints out 3,4,5
for x in range(3, 6):
print(x)
# Prints out 3,5,7
for x in range(3, 8, 2):
print(x)
while count < 5:
print(count)
count += 1 # This is the same as count = count + 1
How to iterate over range Python?
To loop through a set of code a specified number of times, we can use the range() function, The range() function returns a sequence of numbers, starting from 0 by default, and increments by 1 (by default), and ends at a specified number.
See more about python at brainly.com/question/18502436
#SPJ1
Classify the following skills: communication, creativity, and independence.
Hard skills
Interpersonal skills
People skills
Soft skills
Answer:
Communication, creativity, and independence are people skill
Explanation:
Soft skills depict the quality of a person and classify his/her personality trait or habit.
Communication - Interpersonal skill
Interpersonal skill allows one to interact and communicate with others effortlessly.
Both soft skill and interpersonal skill comes under the umbrella term i.e people skill.
Hence, communication, creativity, and independence are people skill
Answer:
It's not people skills I got it wrong on my test
Explanation:
1. when is it a good idea to use lossless compression
What is the name of an application that appears to look like a helpful application but instead does harm to your computer
Answer:
Trojan Horse
Explanation:
What is the name of an application that appears to look like a helpful application but instead does harm to your computer
TROJAN HORSE
Which of these hardware components can you use to store videos? A. External RAM B. Floppy disk. C. Hard drive. D. Motherboard..
The hard drive (hardware) is used to store videos.
What is the use of Hard Ware?
A computer's hard drive is a type of storage device used to keep data. It is in charge of maintaining your operating system data, documents, music, videos, photographs, and preference files. You risk losing all of your important data if the hard drive malfunctions or is damaged. Most individuals utilize a backup solution that maintains a separate document file of the originals to avoid a data loss situation.
An electromagnetic head is used to write and read data to and from the rotating platters. This head hovers just above the rotating platters and glides over them. Without removing the hard drive's cover, it is impossible to observe this process while it is in progress. However, if a hard drive's cover is taken off to reveal the platters, the drive gets corrupted and is soon rendered useless. Data recovery is therefore carried out in controlled settings that are free of dust and other impurities that could harm the platters.
To know more about Hardware, Check out:
https://brainly.com/question/24370161
#SPJ4
.
Prior to ____ contribution, all programs were hardwired into the computer. His architecture is used in almost all computers today.
.William Shockley
. Bill Gate
. Steve Job
. John Neman
Answer:
John von Neumann (Last option)
Explanation:
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()