Create Array Using For Loop In Python Examples Using Functions