Answer:
12 months
Explanation:
The options are:
18 months
9 months
6 months
12 months
The lease is being signed for one year, and that is 12 months. And it is being renewed after that through an agreement between the landlord and the tenant. And hence, the correct option here is the 12 months since the lease is legitimate for 12 months only by default.
Answer:
see explaination
Explanation:
def words2number(s):
words = s.split()
numbers = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
result = ""
for word in words:
if word in numbers:
result += str(numbers.index(word))
return result
Answer:
The solution code is written in Python.
- def removeAdoptedDog(dog_dictionary, adopted_dog_names):
- for x in adopted_dog_names:
- del dog_dictionary[x]
-
- return dog_dictionary
-
- dog_dictionary = {
- "Charlie": "Male",
- "Max" : "Male",
- "Bella" : "Female",
- "Ruby": "Female",
- "Toby": "Male",
- "Coco": "Female",
- "Teddy": "Male"
- }
-
- print(dog_dictionary)
-
- adopted_dog_names = {"Ruby", "Teddy"}
-
- print(removeAdoptedDog(dog_dictionary, adopted_dog_names))
Explanation:
Firstly, let's create a function <em>removeAdoptedDog() </em>takes two arguments, <em>dog_dictionary </em>& <em>adopted_dog_names</em> (Line 1)
Within the function, we can use a for-loop to traverse through the <em>adopted_dog_names</em> list and use the individual dog name as the key to remove the adopted dog from <em>dog_dictionary </em>(Line 3). To remove a key from a dictionary, we can use the keyword del.
Next return the updated dog_dictionary (Line 5).
Let's test our function by simply putting some sample records on the <em>dog_dictionary</em> (Line 7 -15) and two dog names to the <em>adopted_dog_names list</em> (Line 19).
Call the function <em>removeAdoptedDog() </em>by<em> </em>passing the <em>dog_dictionary and adopted_dog_names </em>as arguments. The display result will show the key represented by the<em> adopted_dog_names</em> have been removed from the <em>dog_dictionary </em>(Line 21).
Statement to be written in cell B10 :
IF ( B9 >= 470000, 35000, 1000)
Formula:
IF ( logical_test , [value_if_true] , [value_if_false] )
Explanation:
- logical_test = Net Profit After Tax (cell B9)
- value_if_true = 35000
<em>(if the Net Profit After Tax (cell B9) is greater than or equal to 47000 )</em>
<em> </em>3<em>.</em> value_if_false = 1000
<em>(if the Net Profit After Tax (cell B9) is lesser than 47000 )</em>
Each value should be separated by comma.