Useful Python Functions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Useful Python Functions

What are some good, useful Python functions? for example, sum , zip , map , max etc.

18th Jul 2018, 9:44 AM
Satyam
11 Answers
+ 6
help()
18th Jul 2018, 1:12 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 4
help() is useful e.g: print(help("modules")) #See all available modules.
18th Jul 2018, 2:53 PM
Shuaib Nuruddin
Shuaib Nuruddin - avatar
+ 3
what a coincidence! I just happened to write a code(not working) using exec. Thank you! https://code.sololearn.com/cp6HhvxpJqvc/?ref=app
18th Jul 2018, 2:58 PM
Satyam
+ 2
One that is good, useful but few people know about?
18th Jul 2018, 9:47 AM
Satyam
+ 2
Kuba Siekierzyński very helpful indeed! but something more specific?
18th Jul 2018, 1:14 PM
Satyam
+ 2
I should have got far more than 5xp for drawing with you, Kuba Siekierzyński
18th Jul 2018, 1:33 PM
Satyam
+ 2
exec() is useful eg: from math import * # You can use any library and see everything in it. exec("print(dir())")
18th Jul 2018, 2:55 PM
Shuaib Nuruddin
Shuaib Nuruddin - avatar
+ 2
modules are very important
24th Sep 2018, 6:14 AM
Shazeb khan
Shazeb khan - avatar
+ 1
so many use full function are there .where to start!!
26th Aug 2018, 7:23 AM
Prabhanshu Rajput
Prabhanshu Rajput - avatar
0
just start from beginning
30th Aug 2018, 3:06 PM
Dilip Gupta
Dilip Gupta - avatar
0
help
18th Dec 2020, 2:47 AM
huong :))
huong :)) - avatar