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

Math DO NOW due 2:30 pm and LESSON “Probability & Combinations #2” Mr. Mui

B Day Biology Due 2:30 PM Mr. Benedict Read over the Final Portfolio/Project/Rubric