Given a list of integers, generate the list of the corresponding floats.
karthik.c 6 Light Poster
Recommended Answers
Jump to PostJust an observation, I would avoid using variable names like l1, l2 and so on, they look a lot like numbers 11, 12.
Here is an example how to use Python function map():
q = [1, 2, 3, 4, 5] # map applies float() to every …
Jump to PostThere are a flock of badly written and rather outdated Python books on the market. I would go for some of the free online books.
Swaroop C.H. has rewritten his excellent beginning Python tutorial for Python30:
http://www.swaroopch.com/notes/Python_en:Table_of_ContentsHow to Think Like a Computer Scientist - Learning …
All 8 Replies
scru 909 Posting Virtuoso Featured Poster
karthik.c 6 Light Poster
scru 909 Posting Virtuoso Featured Poster
Ene Uran 638 Posting Virtuoso
karthik.c 6 Light Poster
Ene Uran 638 Posting Virtuoso
jrcagle 77 Practically a Master Poster
scru 909 Posting Virtuoso Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.