more while examples
This commit is contained in:
parent
de74c83f61
commit
f23f2bd4ac
4
walrus.alternative.2.py
Normal file
4
walrus.alternative.2.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
s = input('Bir yazı giriniz:')
|
||||
while s != 'quit':
|
||||
print(s[::-1])
|
||||
s = input('Bir yazı giriniz:')
|
5
walrus.alternative.py
Normal file
5
walrus.alternative.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
while True:
|
||||
s = input('Bir yazı giriniz:')
|
||||
if s == 'quit':
|
||||
break
|
||||
print(s[::-1])
|
Loading…
Reference in New Issue
Block a user