I am progressing on learning Python, gonna get back to you and complete what you ask as a practice.
Answer:
i=0
while pow(2,i)<=1000000:
print(pow(2,i))
i+=1
Explanation:
We need to write a program that prints the power of 2, and till the number is less than 1 milliion. And the program in python is as above.
Answer:
connection
Explanation:
connection between each device