Answer:controlling a situation by making things happen or by preparing for possible future problems
Explanation:
Answer:
True
Explanation:
You can learn through many different textbooks that a closed system is always closed.
The hashing function can take any number of key-value pairs and there is no specific limit to it.
<h3>What is hashing?</h3>
Hashing is a file-based algorithm for producing a fixed-length bit string value. A file is essentially a collection of data blocks. The length of the data is reduced by hashing to a fixed number or key that represents the original string.
When hashing is employed, the hash function may plot all of the keys and values to what the real size of the table is, demonstrating that the hashing function can take any number of key-value pairs with no restriction.
However, if the passwords are hashed in encryption, recovering the passwords is extremely difficult.
Thus, the hashing function can take any number of key-value pairs and there is no specific limit to it.
Learn more about the hashing here:
brainly.com/question/13106914
#SPJ1
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.
File Tab is your answer
Hope this helps.