Character String e.g.:
1 | 'abcdefg' str1 = |
Data type of Python
- create and operate list
demo:
1 | #define a list list1 = [] |
- create and operate the tuple
Once defined, can’t be changed.
demo:
1 | 'a','b','c') #define a tuple tuple1 = ( |
1 | >>> str1 = 'abcdefg' |
demo:
1 | >>> list1 = [] #define a list |
Once defined, can’t be changed.
demo:
1 | >>> tuple1 = ('a','b','c') #define a tuple |
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: true tags: true