what is the function of str and % | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is the function of str and %

LITTLE STUCK

20th Apr 2019, 2:22 AM
Riddick Walker
3 Answers
+ 2
The str() function converts values to a string form so they can be combined with other strings. % is modulus operator Ex - if 21%2 is given then remainder is the answer that is 1 21/2 the answer is 10.
20th Apr 2019, 2:57 AM
Edwin
Edwin - avatar
0
Hello... I'm a beginner.. I wanna know the function of str and %
20th Apr 2019, 2:24 AM
Riddick Walker
0
Thanks
20th Apr 2019, 10:47 PM
Riddick Walker