A class is a template for a group of objects with similar characteristics.
An object-oriented programming uses objects, instead of <em>functions and logic </em>to model software designs.
In an object-oriented programming, there are:
Objects are what make up the object-oriented programming.
Similar objects are grouped together into classes
Hence, the text that completes the blank is class
Read more about object-oriented programming at:
brainly.com/question/22530356
Answer:
listNumbers = [34,56,23,56,78,89,98,45,34,33,25,26,67,78]
listString = [ ]
for i in range(14):
if listNumbers[i]%2!=0 and listNumbers[i]%5==0:
listString.append("five odd")
elif listNumbers[i]%5==0 and listNumbers[i]%2==0:
listString.append("five even")
elif listNumbers[i]%2==0:
listString.append("even")
elif listNumbers[i]%2!=0:
listString.append("odd")
print(listNumbers)
print(listString)
Explanation:
In python programming language;
- Create two lists
- The first is a list of numbers and initialize it with random values: listNumbers = [34,56,23,56,78,89,98,45,34,33,25,26,67,78]
- The second list is empty and will hold the string values listString = [ ]
- Use a for loop to iterate over all the elementts in the list of numbers
- Use the modulo operator (%) to chech for multiples of particular numbers as stipulated by the question
- Use combination of if/elif statements for each condition
- Use the .append method to add the elements into the list of strings
- finially output both lists
See attached code and output
Answer:
Phishing attacks normally target random people on mass amount by sending emails to users. In the other hand the spear phishing only targets 1 person hence the name "spear".
Hope this help please give the brainliest award.
Flight controllers making sure that they facilitate house mission control operating properly is True.
<h3>Who is a Flight controller?</h3>
This is an individual which forms part of the house mission control and they monitor and direct the movement of the aircraft in the skies and on the ground.
The functions mentioned above ensures that house mission control can operate properly, even in the event of a severe weather or national emergency.
Read more about Flight controller here brainly.com/question/1921832