1、 For dictionaries infor = {"name":"tom","age":13,"sex":"male"}, Delete “age”:13 The correct operation of key value pairs is
A、del infor['age']
B、del infor["age":13]
C、del infor
D、infor.clear()
answer :A
Test point analysis : Check dictionary operation , Delete an element from the dictionary , It is deleted according to the key of the dictionary , So the answer A,D The option is to clear the entire dictionary ,BC Is the wrong format
2、 use python Statement calculation : The length and width of the rectangle are 4 and 5, Then the circumference of the rectangle is
A、
B、
There are three stages for chi
Abstract : &n