Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions maths/market.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
para = 40
toplam = ()
print("Adınız nedir?")

Check failure on line 3 in maths/market.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (RUF001)

maths/market.py:3:12: RUF001 String contains ambiguous `ı` (LATIN SMALL LETTER DOTLESS I). Did you mean `i` (LATIN SMALL LETTER I)?

Check failure on line 3 in maths/market.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (RUF001)

maths/market.py:3:10: RUF001 String contains ambiguous `ı` (LATIN SMALL LETTER DOTLESS I). Did you mean `i` (LATIN SMALL LETTER I)?
ad = input()
print("Soyadınız nedir?")

Check failure on line 5 in maths/market.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (RUF001)

maths/market.py:5:15: RUF001 String contains ambiguous `ı` (LATIN SMALL LETTER DOTLESS I). Did you mean `i` (LATIN SMALL LETTER I)?

Check failure on line 5 in maths/market.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (RUF001)

maths/market.py:5:13: RUF001 String contains ambiguous `ı` (LATIN SMALL LETTER DOTLESS I). Did you mean `i` (LATIN SMALL LETTER I)?
soyad = input()
print("Merhaba, {0} {1}!, Kaç tane kitap almak istiyosunuz?".format(ad, soyad))

Check failure on line 7 in maths/market.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (UP032)

maths/market.py:7:7: UP032 Use f-string instead of `format` call help: Convert to f-string

Check failure on line 7 in maths/market.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (UP030)

maths/market.py:7:7: UP030 Use implicit references for positional format fields help: Remove explicit positional indices
tane = int(input())
if tane > 50:
print("İndirimimiz var %50 indirim kazandınız,50 den fazla kitap alana %50 indirim uygulanır.")

Check failure on line 10 in maths/market.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (RUF001)

maths/market.py:10:95: RUF001 String contains ambiguous `ı` (LATIN SMALL LETTER DOTLESS I). Did you mean `i` (LATIN SMALL LETTER I)?

Check failure on line 10 in maths/market.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (E501)

maths/market.py:10:89: E501 Line too long (99 > 88)

Check failure on line 10 in maths/market.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (RUF001)

maths/market.py:10:48: RUF001 String contains ambiguous `ı` (LATIN SMALL LETTER DOTLESS I). Did you mean `i` (LATIN SMALL LETTER I)?

Check failure on line 10 in maths/market.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (RUF001)

maths/market.py:10:46: RUF001 String contains ambiguous `ı` (LATIN SMALL LETTER DOTLESS I). Did you mean `i` (LATIN SMALL LETTER I)?
toplam = (para * tane) - (para * tane * 50 / 100)
print("Toplam ödemeniz gereken miktar: " + str(toplam) + " TL")
else:
toplam = para * tane
print("Toplam ödemeniz gereken miktar: " + str(toplam) + " TL")
Loading