Nội dung text Data_type_operator.docx
số str list tuple dict set bool số +, -, *, /, %, //, **, (hết nhóm 1) ==, !=, >, >=, <, <=, (hết nhóm 2) and(ref 10), nhóm 4 …. str * (ref 12), +, ==, !=, >(ref 11), += list + tupl e dict set bool and, or, not (hết nhóm 3) 1 2 3 4 5 6 Toán tử số học + - * / // % ** Toán tử so sánh == != > >= < <= Toán tử logic and or not Toán tử gán = += -= *= /= //= %= **= Toán tử thành viên Membership Operators in not in Toán tử nhận dạng (Identity Operators) is not is => kiểm tra nếu hai đối tượng có cùng chung vùng nhớ 10. Giải thích số and số