what is the function of '%' operator in python???
Answers
Answered by
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
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