The function use to get the number of element in a dictionary is len.
<h3>What is a dictionary?</h3>
Dictionaries are used to store data values in key-value pairs. Dictionary are ordered.
Dictionary in python are express as follows:
my_dict = {"name": "Michael", "age": 28, "school": "Oxford"}
Therefore, the length of the element of the dictionary can be gotten using the len() function.
Hence,
print(len(my_dict)) will give you the length of the element.
learn more on dictionary here: brainly.com/question/14120893
#SPJ11
It is like this: . You just put a circle and that is a power point
Answer:
1 2 3 4 5 6 7 8 End
Explanation:
int i = 1;
while (i != 9){
System.out.print (i + " ");
i ++;
if (i == 9){
System.out.println("End");
}
}