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

B Day US History IIB 4-5 Due 2:30 PM Mr. Urbankowski CHAPTER 19 (THE FIRST WORLD WAR) ASSESSMENT/TEST

B Day Bio Presentation Final Mr. Benedict