deleted python code

This commit is contained in:
Mert Gör 🇹🇷 2024-08-08 15:36:40 +03:00
parent d69a0aaf11
commit 2ee8030f00
Signed by: hwpplayer1
GPG key ID: 03E547D043AB6C8F
13 changed files with 0 additions and 28699 deletions

File diff suppressed because it is too large Load diff

View file

@ -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)

View file

@ -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!')

View file

@ -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')

View file

@ -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)

View file

@ -1,4 +0,0 @@
a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
for i in a:
print(i, end=' ')

View file

@ -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 !
"""

View file

@ -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')

View file

@ -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!")

View file

@ -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!')

View file

@ -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!')

View file

@ -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

View file

@ -1,5 +0,0 @@
i = 0
while i < 10:
print(i)
i += 1