311 views
0 votes
Plz help me of this answer


language:python​

Plz help me of this answer language:python​-example-1
User Abernier
by
8.4k points

2 Answers

2 votes

Answer:

output : 2

Step-by-step explanation:

time: 0.16 exit

User IStar
by
8.4k points
5 votes

Answer:

The output of this code after execution is 2

Step-by-step explanation:

In the code that is given in picture first of all variable 'x' is assigned to value 3 and then another variable 'num' is assigned to value 17. After the print statement is printing the value of 'num' modulus(%) 'x' which is 2. Modulus is mathematical operator which calculates the remainder value of euclidean division. Where 'num' is dividend and 'x' is divisor.

User Ivan Santiago
by
7.9k points

No related questions found