Lecture Note
University
American Baptist CollegeCourse
CSCI 1534 | Data Analysis and VisualizationPages
1
Academic year
2023
Muthia Marhamah
Views
0
p {margin: 0; padding: 0;} .ft00{font-size:18px;font-family:NimbusRomanRegular;color:#000000;} .ft01{font-size:18px;font-family:NimbusRomanBold;color:#000000;} Python Data Operator Arithmetic Operators Arithmetic operators are used with numeric values to perform common mathematical operations: Operator Example Same As + Addition X + Y - Subtraction X - Y * Multiplication X * Y / Division X / Y % Modulus X % Y ** Exponentiation X ** Y // Floor Division X // Y Code example : X = 2 Y = 1 Sum = X + Y Or Subs = X-Y
Python Data Operator (Arithmetic Operators)
Please or to post comments