Answer:
while True:
s = input("Enter a word: ")
if s != "":
reversed_s = ''.join(reversed(s))
if s == reversed_s:
print(s + " is a palindrome")
else:
print(s + " is not a palindrome")
else:
break
Explanation:
- Initialize a while loop that iterates until the user enters an empty string
- Ask the user to enter a word
- If the word is not empty, reverse the word
- Check if reversed word is same as the original word. If they are same, then the word is a palindrome. If they are not same, then the word is not a palindrome.
B.) is what most employers are looking for
It is C I have a lot of experience with computers and technology
Answer:
The width of the aside should be set to 33.33%
Explanation:
Given:
Let F1 = Fixed width of an aside element in a fixed layout
F1 = 300 pixels
Let F2 = Fixed width of its parent element (body)
F2 = 900 pixels
Let W = The width, after converting the page from fixed to fluid layout
W is calculated as F1/F2
W = F1/F2
W = 300 pixels/900 pixels
W = 300/900
W = 0.3333 ---- Convert to percentage
W = 33.33%
Hence, the width of the aside should be set to 33.33%
Answer:
The internet was initially used to transfer data packets between users and data sources with a specific IP adress.Due to advancements,the internet is being used to share data among different small,resource constrained devices connected in billions to constitute the <u>Internet </u>of Thing (IoT).A large amount of data from these devices imposes overhead on the (IoT) network.Hence,it is required to provide solutions for various network related problems in (IoT) including routing,energy conservation,congestion,heterogeneity,scalability,reliability quality of service (QoS) and security to optimally make use of the available network.In this paper,a comprehensive survey on the network optimization in IoT is presented.