Answer:
nslookup is the correct answer to the following question.
Explanation:
The following answer is correct because It is the tool or the utility of the command line by which an administrator to query a DNS(Domain Name System) for finding the domain name or the Internet Protocol address or many other records.
<u>Steps to use nslookup:</u>
- Firstly, you have to press the window key + R to open run.
- Then, you have to type cmd in it and press enter.
- Then, cmd will appear after that, you have to type the command 'nslookup' and then press enter.
- Then, it shows the default server name and ip address after that, you have to type an ip address of DNS server.
- Then, you have to type 'set' then type q=M X and then press enter
- Then, you have to type the name of your domain then, press enter key.
Answer:
1 - Commenting and Documentation.
2 - Consistent Indentation.
3 - Avoid Obvious Comments.
4 - Code Grouping.
5 - Consistent Naming Scheme.
6 - DRY Principle.
7 - Avoid Deep Nesting.
8 - Limit Line Length.
Explanation:
Hope this helped
Lol my days been hectic wby. I’ve been studying
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()