Computer Science Classwork Modulus Manzoor

Q1 . The true value return by relational expression is represented by: 1
Q2 . An expression many consist of: Both Operand and Operators


Python Programming Question:


Q3. Write a program that takes two numbers and performs modulus operation.
In Python, the modulus operator 
is a percent sign ( % ). The syntax is the 
same as for other operators. In the above example, 
7 divided by 3 is 2 when we use integer 
division and there is a remainder of 1 when we use the  
modulus operator. 

Comments

Popular posts from this blog

Computer Science Manzoor Do Now Due 250 PM

Computer Science Manzoor Do Now and Class due 2:50 PM

Bday Math Pre-Calc M. Mui Pecentage increase/decrease do now Class: Jeopardy due 2:30 Pm