Python Operators
OPERATORS Operators are Special Symbols or signs that help us to perform Arithmetic or Logical operations. Operators are the constructs which can manipulate the values of Operands Forexample: x=10 y=15 print(10+15) print( X+Y) where, x and y are Operands, + is operator output: 25 25 Operators are used to perform Operations on variables and values. Python divides the operators in the following groups: Example Using one operator from each group: OUTPUT:
Comments
Post a Comment