📃
Python Reference
  • Installation
  • First Steps
  • Variables
  • Operators and Expressions
  • Control Flow
  • Loops
  • Functions
  • String
  • List
  • Dictionany
  • Modules
  • Class
  • File
  • Folder
  • Module os
  • Image
  • JSON
  • XML
  • Connection MySQL
  • Connection Redis
  • Connection Memcached
  • Connection RabbitMQ
  • Restful client
  • STMP
  • Socket
Powered by GitBook
On this page
  • Biến số
  • Follower me

Was this helpful?

Variables

PreviousFirst StepsNextOperators and Expressions

Last updated 4 years ago

Was this helpful?

Biến số

Khai báo biến bằng một câu lệnh gán.

a = 'Hello World'

Bạn có thể gán nhiều loại giá trị (số, chuỗi) cho một biến.

a = 1
a = 'Hello World'
a = [1, 2, 3]
a = [1.2, 'Hello', 'World', 2]

Follower me

  • Facebook:

  • Blog:

  • Github:

https://www.facebook.com/lamsaodecode
https://lamsaodecode.blogspot.com
https://lamsaodecode.github.io/introduction