Create Array Of N Numbers In Python For All Selected Lines