Which of the following operational results of built-in data structures of Python is correct?
A、scores={'Jack':90,'Mike':80,'Jay':85,'Bill':60};delscores['Bill'];theresultoflen(scores)is6.;
B、scores={'Jack':90,'Mike':80,'Jay':85,'Bill':60};s=dict(Jack=90,Mike=80,Jay=85,Bill=60);then,thejudgmentresultofscores==sisFalse.;
C、itisimpossibletoexecutethecommand:scores['Bill']=90;thereasonisthatthereisalreadyavalue“90”intheoriginaldictionary.;
D、scores={'Jack':90,'Mike':80,'Jay':85,'Bill':60};theoperationalresultofsorted(scores.keys())is['Bill','Jack','Jay','Mike'].
发布时间:2025-08-02 20:26:35