Answer:
Following are the program in the Python Programming Language:
#set dictionary
d = { 'State' : 'Delhi', 'Country' : 'India'};
#reverse the dictionary.
revers = dict((v, k) for k, v in d.items())
#Displays the reversed dictionary.
print("Dictionary is: \n")
print(revers)
<u>Output</u>:
Dictionary is:
{'Delhi': 'State', 'India': 'Country'}
Explanation:
Here, we set the dictionary data type variable "d" then, we set the variable in which we store the reverse of the dictionary in which key is converted into the value and value is converted into the key. and finally we print the reverse dictionary.
Answer:
When images or graphics excessively occupy most of the space on the page.
<u>Explanation:</u>
For example, if you observed the attached image you'll see a bad example in which the image excessively occupies most of the space on the page making the written text difficult to read.
Next, a good example of proper editing is found in the next image, which shows the written text properly aligned with the text.
Answer:
Constructor in the class is the member function that gets into action when any new object gets created in the class ,it gets invoked. It does not have any return type and no void return.
The constructor is used in the class because there is the requirement for the initializing of the new object and then only object can do the functioning in the program.
Full from of RPM in computer is Revolutions Per Minute.