PROGRAMMING
GAME DEVELOPMENT
In python we have operators for carrying out mathematical operations like addition, subtraction, multiplication, division etc. These operators can be directly used on numbers or with variables.
Try changing the values of the variables a
and b
. Click the button, to Run the code again.
CODE SNIPPETS
;
to join two Executable Statements/
to break code into multiline codelen()
, find()
, replace()
& split()
zip
function to iterate over two Listsdel
, remove()
or pop()
insert()
, reverse()
& sort()
What is Studytonight?
Tutorials
Learn to Code
Interview Questions
/code/python/using-math-operators.php