0

(Python)S=11 K=? print=(S%K) output: 5.

21st May 2020, 2:47 AM
Sweta
Sweta - avatar
3 Respostas
+ 2
e.g. s=11 k=6 print=(s%k) output: 5 (process: 11/6 has a remainder 5 so the output is 5) % is Modulus operator, which output the remainder of the division.
21st May 2020, 3:00 AM
Zhengrong Yan
Zhengrong Yan - avatar
+ 2
Sorry to say but your question is incomplete S and K must be assigned any integer values
21st May 2020, 5:02 AM
Mohd Aadil
Mohd Aadil - avatar