Earth, TX

# Developer

```def Lover(Programming):
return ['Love']*len(Programming)

print Lover(['Python','Fortran','VB','Matlab',[]])```
 4h answered Group values based on range of number in python 1d comment slicing and plotting 3D array with Python@Vladde BTW don't forget to upvote our answer ;) 1d comment slicing and plotting 3D array with Python@Vladde A very simple and general solution for saving animation is to save each run as image file (e.g., add `pl.savefig('%05d.png'%i)` after `pl.draw()`) and then to use many available tools such as `Photoscape` to generate animations as `GIF` or `AVI` etc formats. 1d answered slicing and plotting 3D array with Python Nov 30 comment How to discretise a line into grid lines@whuber The original and ultimate aim is to implement a finite element method which requires lines to be approximated into mesh (grid). Indeed, we are looking for an algorithm as generic as to consider any form of mesh (grid): irregular, regular, axes aligned or not etc. Nov 29 revised How to discretize a line into segments aligned to an arbitrary gridadded 337 characters in body Nov 29 revised How to discretise a line into grid linesadded 178 characters in body Nov 26 answered Parsing a plaintext document into a python array Nov 23 answered Python random numbers loop Nov 22 revised convert numpy array to string with delimiter and save to txt fileadded 126 characters in body Nov 22 comment convert numpy array to string with delimiter and save to txt fileYou can add `header='str(int)+ " | "'` and it will do what you want. I.e., `np.savetxt('data.csv',data,delimiter=',',fmt='%d',header='str(int)+ " | "')`. Nov 22 answered convert numpy array to string with delimiter and save to txt file Nov 21 awarded Notable Question Nov 21 comment Creating a function to generate a random numberThe tag is `Python`. Nov 21 revised How to count words in text and append in dictionary?added 83 characters in body Nov 21 comment How to count words in text and append in dictionary?@gnibbler You are correct. We were under impression to answer quickly and also thought developers will consider further improvements. We teach and learn. Thanks for the tip. Nov 21 answered How to count words in text and append in dictionary? Nov 20 answered how to create html tables by using python Nov 17 answered Combining 3 boolean masks in Python Nov 17 answered How to efficiently concatenate many arange calls in numpy?