Computer Science, asked by tanishka785, 7 months ago

what is the function of '%' operator in python???​

Answers

Answered by get2serah
0

Answer:

The %s operator lets you add a value into a Python string. The %s signifies that you want to add a string value into a string. The % operator can be used with other configurations, such as %d, to format different types of values.

Answered by sharanya200636
1

Answer:

Answered

Explanation:

It is used for Modulus.

Modulus means the remainder.

Eg: 4%2 =0 .....Remainder is 0 when 4 is divided by 2.

Eg2: 4%3= 1.....Remainder is 1 when 4 is divided by 3.

HOPE IT HELPS

PLS MARK AS BRAINLIEST

Similar questions