以下程序的输出结果是______。print(len(list('i love python')))
A: 3
B: 13
C: 1
D: 11
A: 3
B: 13
C: 1
D: 11
举一反三
- 字符串 s = “I love Python”,以下程序的输出结果是: s = “I love Python” ls = ssplit() lsreverse() print(ls) A: ‘Python’, ‘love’, ‘I’ B: Python love I C: None D: [‘Python’, ‘love’, ‘I’]
- 字符串 s = “I love Python”,以下程序的输出结果是( )。s = "I love Python" ls = s.split() print(ls) A: ‘I’, ‘love’, ‘Python’ B: I love Python C: None D: D. [‘I’, ‘love’,‘Python’ ]
- 运行以下程序,输出结果的是: print(" love “join([“Everyday”,“Yourself”,“Python”,]))
- Python语句print(len({ }))的输出结果是
- Python语句d={'a':1, 'b':2, 'c':3}; print(len(d))的运行结果是( )。