SHARE
TWEET

Untitled

a guest Jan 15th, 2019 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def reverse_word_order(strinz):
  2.     return " ".join(list(reversed(strinz.split(" "))))
  3.  
  4.  
  5. def main():
  6.     print(reverse_word_order("This is a sentence"))
  7.     return 1
  8.  
  9.  
  10. if __name__ == '__main__':
  11.     main()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top