deleted python code
This commit is contained in:
parent
d69a0aaf11
commit
2ee8030f00
13 changed files with 0 additions and 28699 deletions
28573
python/Python.txt
28573
python/Python.txt
File diff suppressed because it is too large
Load diff
|
@ -1,9 +0,0 @@
|
|||
"""
|
||||
Experimental code written by Mert Gör(hwpplayer1)
|
||||
GPLv3-or-later
|
||||
"""
|
||||
|
||||
mert = set('mert')
|
||||
gor = ['g','o','r']
|
||||
mert.update(gor)
|
||||
print(mert)
|
|
@ -1,13 +0,0 @@
|
|||
while True:
|
||||
cmd = input('CSD>').strip()
|
||||
match cmd:
|
||||
case 'delete' | 'remove' | 'erase':
|
||||
print('silme işlemi')
|
||||
case 'copy':
|
||||
print('kopyalama işlemi')
|
||||
case 'rename':
|
||||
print('isim değiştirme işlemi')
|
||||
case 'exit' | 'quit':
|
||||
break
|
||||
case _:
|
||||
print('geçersiz komut!')
|
|
@ -1,14 +0,0 @@
|
|||
while True:
|
||||
cmd = input('CSD>').strip()
|
||||
match cmd:
|
||||
case 'delete' | 'remove' | 'erase' as x:
|
||||
print(f'silme işlemi "{x}" komutu ile yapılıyor')
|
||||
case 'copy':
|
||||
print('kopyalama işlemi')
|
||||
case 'rename':
|
||||
print('isim değiştirme işlemi')
|
||||
case 'exit' | 'quit':
|
||||
break
|
||||
case _:
|
||||
print('geçersiz komut')
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
d = {'Ali': 123, 'Veli': 478, 'Selami': 75, 'Ayşe': 642, 'Fatma': 39}
|
||||
|
||||
k = dict()
|
||||
|
||||
for key in d:
|
||||
k[d[key]] = key
|
||||
|
||||
print(d)
|
||||
|
||||
print(k)
|
|
@ -1,4 +0,0 @@
|
|||
a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
||||
|
||||
for i in a:
|
||||
print(i, end=' ')
|
|
@ -1,9 +0,0 @@
|
|||
# First code for Python Programming Language
|
||||
# Let's write a traditional "Hello World" with print
|
||||
|
||||
print("Hello World from Ubuntu 22.04 LTS/Ubuntu Pro with Python Programming Language")
|
||||
|
||||
"""
|
||||
Let's send our code to our git repository !
|
||||
"""
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
s = input('Bir renk giriniz:')
|
||||
|
||||
match s:
|
||||
case 'kırmızı':
|
||||
print('red')
|
||||
case 'mavi':
|
||||
print('blue')
|
||||
case 'yeşil':
|
||||
print('üç')
|
||||
case 4:
|
||||
print('green')
|
||||
case _:
|
||||
print('another color')
|
|
@ -1,14 +0,0 @@
|
|||
"""
|
||||
>>> names = ["ali", "veli", "selami"]
|
||||
>>> for name in names:
|
||||
... if name == "ali":
|
||||
... print("ali")
|
||||
...
|
||||
ali
|
||||
"""
|
||||
|
||||
names = ["Ali", "Veli", "Selami"]
|
||||
|
||||
for name in names:
|
||||
if name == "Ali":
|
||||
print("Ali is here!")
|
|
@ -1,14 +0,0 @@
|
|||
while True:
|
||||
cmd = input('PSD>').strip()
|
||||
if cmd == '':
|
||||
continue
|
||||
if cmd == 'dir':
|
||||
print('dir command')
|
||||
elif cmd == 'del':
|
||||
print('del command')
|
||||
elif cmd == 'copy':
|
||||
print('copy command')
|
||||
elif cmd == 'exit':
|
||||
break
|
||||
else:
|
||||
print('bad command!')
|
|
@ -1,14 +0,0 @@
|
|||
while True:
|
||||
cmd = input('CSD>').split()
|
||||
|
||||
match cmd:
|
||||
case ('delete', path) | ('remove', path) | ('erase', path):
|
||||
print(f'{path} dosyası siliniyor')
|
||||
case 'copy', source_path, dest_path:
|
||||
print(f'{source_path} dosyası {dest_path} olarak kopyalanıyor')
|
||||
case 'rename', oldname, newname:
|
||||
print(f'{oldname} dosyanının ismi {newname} olarak değiştiriliyor')
|
||||
case 'exit' | 'quit':
|
||||
break
|
||||
case _:
|
||||
print('geçeriz komut!')
|
|
@ -1,7 +0,0 @@
|
|||
a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
||||
|
||||
i = len(a) - 1
|
||||
|
||||
while i >= 0:
|
||||
print(a[i], end=' ')
|
||||
i -= 1
|
|
@ -1,5 +0,0 @@
|
|||
i = 0
|
||||
|
||||
while i < 10:
|
||||
print(i)
|
||||
i += 1
|
Loading…
Add table
Reference in a new issue