python exam data structure

1. The following data structure on python statement is correct

  • python can dynamically update the list, but does not allow nested
  • python can dynamically update the tuple, but does not allow nested
  • dict in python to save key-value pairs, and key-value pairs are ordered
  • python in the list of elements can be tuple

Analytical: A List allow updates, allows nested

           B tuple updates are not allowed
      C key concept of no order
 
 
 
2. With regard to Python in the plural, the following statement is wrong ()
Table grammar plural is real + image j
The real and imaginary parts are floating
The imaginary part must suffix j, and must be lowercase
The method returns the complex conjugate complex conjugate 
Analysis:

About python in the plural:

1. Expresses its complex syntax is real + image j

2. The real and imaginary parts are floating

3. The imaginary part of the suffix may be a "j" or "J"

4. The method of complex conjugate may be returned to the complex conjugate complex.

 
 
 

Guess you like

Origin www.cnblogs.com/ivyharding/p/11294210.html