写出执行下列程序段的中间结果和结果[br][/br][tex=6.5x10.143]T7j0+iqxfJGCJ6yLy29wF6EvCqqpRdjiTqMfvVirAQhlxXoapdaOM0AyfIrx0MbalrbWB/6pyEisDZx72796K/ojAhoWbDEycqrN3vgWEGC778xr66H0jDtW6w83IUkO8nc8/u8tU4WYV6hTH3sypCZAZzqOoY4zgWH0kqVD2f6DMYCCRNhaOto5JR23navq[/tex][br][/br]结果: [tex=2.357x1.0]DAUyDbKZzxtiMBQo/YzLlw==[/tex]______ [tex=0.857x1.0]h610M+sGyf59WggKwaDo1Q==[/tex]
举一反三
- 写出执行下列程序段的中间结果和结果[br][/br][tex=7.071x4.357]8gpVesGm0Sw9rx420nx2tUnHTVVdRgtL9oFVrbkAMNBnvDTu9KE+GzI8oaPsBwcC[/tex] [br][/br][tex=5.643x2.357]JXCNLgGz2KrqA9OEVR7gmg==[/tex][br][/br][br][/br][tex=2.357x1.0]DAUyDbKZzxtiMBQo/YzLlw==[/tex][br][/br][br][/br][br][/br][tex=2.357x1.0]DAUyDbKZzxtiMBQo/YzLlw==[/tex][br][/br][tex=2.357x1.0]DAUyDbKZzxtiMBQo/YzLlw==[/tex]
- set1 = {x for x in range(10)} print(set1) 以上代码的运行结果为? A: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} B: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10} C: {1, 2, 3, 4, 5, 6, 7, 8, 9} D: {1, 2, 3, 4, 5, 6, 7, 8, 9,10}
- >>>x= [10, 6, 0, 1, 7, 4, 3, 2, 8, 5, 9]>>>print(x.sort()) 语句运行结果正确的是( )。 A: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] B: [10, 6, 0, 1, 7, 4, 3, 2, 8, 5, 9] C: [10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0] D: ['2', '4', '0', '6', '10', '7', '8', '3', '9', '1', '5']
- set1 = {x for x in range(10) if x%2==0} print(set1) 以上代码的运行结果为? A: {0, 2, 4, 6} B: {2, 4, 6, 8} C: {0, 2, 4, 6, 8} D: {4, 6, 8}
- 写出执行下列程序段的中间结果和结果[br][/br][tex=6.357x6.929]HZU3O87yh+xdjN1z34ZLLPRgnCku9HNpYeyWrd6fkH5D30f9qZLegqwro4RhqXVRpbjYFwz14fyqCLdWPhTSoI/6I4ptvEf94jQ8toRK2Lw=[/tex][br][/br][br][/br][tex=2.429x1.0]UV5XZhNkedVtWGCqOBaQUg==[/tex]_______[tex=0.857x1.0]h610M+sGyf59WggKwaDo1Q==[/tex]