INTRODUCTION TO PYTHON.
PRINT STATEMENT VARIABLE STRING DATA TYPES COMMENT MEANING OF SOME MATHEMATICAL SYMBOLS.
PRINT STATEMENT Printing a statement means the output a statement which is caged in the print bracket “print( statement)” example print(“Hello world”) output Hello world note :”Hello world” is called string..
variable This is a small container used to store data. example folder = (“1piece”) folder is the variable folder = (“1piece”) print(folder) output 1piece Note:quote was not added because it is a variable .which is the folder..
STRING. A string is a text in a quotatation mark. It can be double quotation mark “ “ or single ‘’. EXAMPLE ‘JOHN’ OR “YUSSIF”.
DATA TYPES.
IN PYTHON * MEANS MULTIPLICATION + ADDITION ** EXPONENT / DIVISION - SUBTRACTION <,> != MEANS NOT EQUAL SO ! MEANS NOT.
THANK YOU.