直面代码,对标金融科技应用开发,学习Python编程基础,并以实际项目(PBL学习)展示编程能解决问题流程中的部分环节。
每周1-2小時,共 8 周
学习
测验
What is the difference between lists and tuples?
Lists
- Lists are mutable - they can be changed
- Slower than tuples
- Syntax:
a_list = [1, 2.0, 'Hello world']
Tuples
- Tuples are immutable - they can’t be changed
- Tuples are faster than lists
- Syntax:
a_tuple = (1, 2.0, 'Hello world')
Is Python case-sensitive?
Yes