Popular Posts

이은한. Powered by Blogger.

2022년 2월 11일 금요일

what is Python Operaters(+-/*)


Arithmetic Operation in Python


Result tables

+, -, *, /, //, %, **, <, >, <=, >= table


When computer created and programming language started, 1 was true and 0 was false.

== table


unlike Java, this is not comparing class. it compare values.

and, or truth table


As above table, the "and" "or" are for true and false.
If you put other type, or gate return B value
If you put other type, and gate return A value

0 개의 댓글:

댓글 쓰기