Python Bakkal Defteri programı(dosya işlemleri)

A

ayazarm

Active Member
Joined
Apr 17, 2021
Messages
12
Reaction score
1
umarım biyerde işinize yarar temel mantık bu geliştirilerek büyütülebilir.
Bakkal Defteri:
while True:
    print("Bakkal Defterinize Hoş Geldiniz")
    dosya = open("borclular.txt","a",encoding="utf-8")
    borc_kisi = input("Borçlu Olan Kişiyi Girin : ")
    borc_miktari = input("Borç Miktarını Girin : ")
    dosya.write(borc_kisi)
    dosya.write(" ")
    dosya.write(borc_miktari)
    dosya.write("\n")
    dosya.close()
© 2022 GitHub, Inc.
 
R

Rampax

💥⚡️𝐑𝐀𝐌𝐏𝐀𝐗 𝐀𝐍𝐃𝐄𝐑𝐒𝐎𝐍⚡️💥
Legend Member
Joined
Oct 15, 2020
Messages
1,021
Reaction score
3,337
Location
Türkiye
Belki ileride işime yarar kaydettim,teşekkürler :)
 
SPAM IS FORBIDDEN!
  • SPAMMERS ARE BANNED FROM THE FORUM AND CANNOT USE ANY OF THE CHEATS
  • For example: thanks, thx, very good, asdqwe, working, ty and so on!
  • For example: Writing the same message over and over. thanks, thx and so on!
  • Copying and copying someone else's message is prohibited.
  • It is forbidden to send messages to increase the number of comments on threads that you have no knowledge of.
  • Write your own opinion when commenting!
  • If you see spam message, please let us know with the REPORT button!

Tema düzenleyici

Top Bottom