Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
reverse words
#python 3.5.2 def reverse_words(statement): if statement: words = statement.split(' '); for i in range(0, int(len(words)/2)): temp = words[i] words[i] = words[len(words)-1-i] words[len(words)-1-i] = temp print(words) stmt = "I am abdel rahman" reverse_words(stmt)
run
|
edit
|
history
|
help
0
PyGen2
teretere
list of primes
Q4
("Hello,world!")
var_local_global.py
line 4
intervalos
Calender 2019
IP Networks splitting calculator