Bạn đang xem thử công khai
Đăng nhập để lưu tiến độ, làm bài tập, thảo luận và nhận phản hồi.
After this unit you will: read and write expressions correctly, and know which operator runs first.
/ always gives a float; // is floor division (rounds down); % is the remainder; ** is exponentiation.n % 2 == 0 checks whether n is even.== compares values; is checks whether two names point to the same object, and is commonly used to check for None.**, then * / % //, then + -, then comparisons, then is/in, and finally not and or.