denisemauldin


Member since 06/03/2016

1 snippets

8 profile views

0 Comment(s) Posted

View their favorites

their Tags


Profile

All time reputation: 17

Achievement

first submission:submitting first snipplet

denisemauldin's Recent Snippets



« Prev 1 Next »
  1. FAV

    Python Reverse Array

    arr[::-1] does a list slice to reverse the array str(x) for x in arr[::-1] casts the ints in the array as strings map(str, arr[::-1]) does the same thing by using map to cast the ints " ".join() joins the resulting strings with a space
    Python saved by 4 people 15 views posted 3 years ago denisemauldin
« Prev 1 Next »