Answer:
Written in Python:
fruit_dictionary = {}
fruit_dictionary = {'apple': 'red', 'orange': 'orange', 'banana': 'yellow'}
Explanation:
First (although, not necessary), we create an empty dictionary named fruit_dictionary on line 1
Next, we populate the dictionary using the following syntax:
{key-1:value-1, key-2:value-2,......,key-n:value-n}
In this case, the entry would be:
{'apple': 'red',
'orange': 'orange',
'banana': 'yellow'}
The items on the first column (i.e. apple, orange and banana) are the keys while the items on the second (i.e. red, orange and yellow) are the values of the dictionary
To print the items in the dictionary, you can add the following line of code:
<em>print(fruit_dictionary.items()) </em>
Answer:
Like other aspects, family background also affects the entreptrneurial behaviour of people as entrepreneurship directly depends on people and people are affected to big extent by the family background.
Explanation:
- According to the research statistics 25% of the variation in decisions of individuals to become employed to self is explained by family background and influence of the community.
- It also suggested that the entrepreneurship depends upon sibling correlation and shared genes.
- It is greatly affected by characteristics of parents and family members including sibling peer effects, income, education, self employment, neighbourhood effects and incorporation.
Answer:
enabling users to contribute to requirements for new system features and functions
Explanation:
Based on the scenario being described within the question it can be said that the main responsibility that is being violated is enabling users to contribute to requirements for new system features and functions. They are responsible for gathering user feedback, in order to get a sense of what the user's like and dislike regarding a system in order to later make the necessary changes needed to the system.
Precision, specificity is related to the accuracy of the information with respect to the subject at hand. Precision is the only answer that makes sense.
Answer:
The program in Python is as follows:
num1 = int(input())
num2 = int(input())
if num1 >=0 and num2 >= 0:
print(num1+num2)
elif num1 <0 and num2 < 0:
print(num1*num2)
else:
if num1>=0:
print(num1**2)
else:
print(num2**2)
Explanation:
This gets input for both numbers
num1 = int(input())
num2 = int(input())
If both are positive, the sum is calculated and printed
<em>if num1 >=0 and num2 >= 0:</em>
<em> print(num1+num2)</em>
If both are negative, the products is calculated and printed
<em>elif num1 <0 and num2 < 0:</em>
<em> print(num1*num2)</em>
If only one of them is positive
else:
Calculate and print the square of num1 if positive
<em> if num1>=0:</em>
<em> print(num1**2)</em>
Calculate and print the square of num2 if positive
<em> else:</em>
<em> print(num2**2)</em>