Answer:
why are you asking this question
Answer:
PLCs (Programmable logic controller) were original designed as replacement for relay control panels. Relay is another word for a switch. Relay control panels were made for the control of electronic instrumentents or devices. Later on PLCs were made to replace these timers and relay control panels. PLCs are more reliable, flexible and can work better in the harsh environmental situations then the relay control panels.
def is_list_even(my_list):
for i in my_list:
if(i%2 != 0):
return False
return True
def is_list_odd(my_list):
for i in my_list:
if(i%2 == 0):
return False
return True
def main():
n = int(input())
lst = []
for i in range(n):
lst.append(int(input()))
if(is_list_even(lst)):
print('all even')
elif(is_list_odd(lst)):
print('all odd')
else:
print('not even or odd')
if __name__ == '__main__':
main()
Answer:
This code loop depends on what you are actually using, JavaScript, Python? But it normally the user 'input'. Represented as an 'int' (integer). Also, I don't understand this.
Answer:
display: list-item
Explanation:
Cascading Style Sheets adds different styles to the web pages and documents. These can be adding different fonts, bullets, colors etc.
In display: list-item
display changes the display style of an element.
list-item is used to display the element or the content of the webpage such as here the yacht club rules in a bulleted list form. The element will be shown in this way <li>
list-item can also be used along
list-style-type and list-style-position
For example:
If the content is this line: "this is my computer"
it will be displayed as: