Answer:
product_name = input("Enter product name : ")
if product_name=="pen"or"book"or"box"or"pencil"or"eraser":
if product_name == "pen":
amount = 10
print(f"Product Name: {product_name}\nCost: {amount} rupees")
if product_name == "book":
amount = 100
print(f"Product Name: {product_name}\nCost: {amount} rupees")
if product_name == "box":
amount = 150
print(f"Product Name: {product_name}\nCost: {amount} rupees")
if product_name == "pencil":
amount = 5
print(f"Product Name: {product_name}\nCost: {amount} rupees")
if product_name == "eraser":
amount = 8
print(f"Product Name: {product_name}\nCost: {amount} rupees")
else:
print("Item not found!")
Explanation:
The python program is a code of nested if-statements that compares the input string to five items of the first if-statement. For every item found, its code block is executed.
My sister would what’s your id
Answer:
The IT field yeah am sure
Answer:
True
Explanation:
Solution
ZigBee uses unlicensed frequency bands but operate at slower speed or data rates.
ZigBee: This communication is particular designed for control and sensor networks on IEEE 802.15.4 requirement for wireless personal area networks (WPANs), and it is a outcome from Zigbee alliance.
This communication level defines physical and (MAC) which is refereed to as the Media Access Control layers to manage many devices at low-data rates.
Answer:
The approach by <u> Aristotle </u> (with a few minor refinements) was implemented 2300 years later by Newell and Simon in their GPS program, about which they write (Newell and Simon, 1972). The main methods of GPS jointly embody the heuristic of means-ends analysis.
Explanation:
Aristotle’s approach (with a few minor refinements) was implemented 2300 years later by Newell and Simon in their GPS program, about which they write (Newell and Simon, 1972):
The main methods of GPS jointly embody the heuristic of Means–ends ANALYSIS
, typified by the following kind of common-sense argument, sorting between what one has and what one wants, needs, or the difficulty implied, classifying things according to the functions they give solution to and oscillating among ends, functions required, and means that perform them. This analysis does not indicate what to do when the actions will achieve the goal, though, or when no achievement will be reached by the action.