do these command also require PRINT() syntax ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

do these command also require PRINT() syntax ?

do these command also require PRINT() syntax? max(list) min(list) list.count(obj) list.remove(obj) list.reverse()

2nd Apr 2020, 7:19 AM
Ansh
2 Answers
+ 2
Yes to print returned value from those functions
2nd Apr 2020, 7:22 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
On idle whatever the value is returned will be printed on screen automatically, but for full .py program you will need the to use print()
2nd Apr 2020, 7:23 AM
Bhavya
Bhavya - avatar