NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

sayi=int(input("kaç kişi için girilecek : "))
isim=[]
yas=[]
maas=[]
cinsiyet=[]


def Menu():
print("nnnn1-Listelen2-yas maaş ortn3-en küçük yas maasn4-en büyük maaş bilgilerin5- çıkış")
secim = int(input("işlem giriniz : "))

if (secim == 1):
Listele()
elif (secim == 2):
YasMaasOrt()
elif (secim == 3):
enKucukYasMaas()
elif (secim == 4):
enBuyukMaasBilgileri()
else:
exit(0)


def Listele():
for i in range(0, sayi):
print("{} isimli kişinin yaşı : {}, maaşı : {}, cinsiyeti : {}".format(isim[i], yas[i], maas[i], cinsiyet[i]))
Menu()

def YasMaasOrt():
YasOrt = 0
MaasOrt = 0
for i in range(0,sayi):
YasOrt+=yas[i]/sayi
MaasOrt+=maas[i]/sayi
print("yaaş ortalaması : {}, maaş ortalaması : {}".format(YasOrt,MaasOrt))

Menu()

def enKucukYasMaas():
enkYaas=yas[0]
enkMaas=maas[0]

for i in range(0,sayi):
if enkYaas>yas[i]:
enkYaas=yas[i]
if enkMaas>maas[i]:
enkMaas=maas[i]
print("en küçük maaş : {}, en küçük yaş : {}".format(enkMaas,enkYaas))

Menu()



def enBuyukMaasBilgileri():
enbMaas=maas[0]
indis=0
for i in range(0,sayi):
if enbMaas<maas[i]:
enbMaas=maas[i]
indis=i

print("en büyük maaş alan kişi : {} adında yaşı ise {} cinsiyeti {} ve maaşı {}".format(isim[indis],yas[indis],cinsiyet[indis],maas[i]))

Menu()



for i in range(0,sayi):
isim.append(input("{}.isim giriniz : ".format(i+1)))
yas.append(int(input("{}.yas giriniz : ".format(i+1))))
maas.append(float(input("{}.maas giriniz : ".format(i+1))))
cinsiyet.append(input("{}.cinsiyet(e/k) giriniz : ".format(i+1)))


Menu()

-----------------------

random sayi

import random
sayi=random.randint(1,100)

sayac=0
while True:
sayac+=1
girilen = int(input("tahmin giriniz: "))
if girilen<sayi:
print("daha büyük sayi giriniz")

continue

elif girilen>sayi:
print("daha kücük sayi giriniz")

continue
else:
print("girdiğiniz sayi {} ntahmin sayısı {}".format(girilen,sayac))
break

----------
vize final

isim=input("isim giriniz")
vize=int(input("vize giriniz: "))
final=int(input("final giriniz: "))
basari=vize*0.4+final*0.6
harf=None
if basari < 21:
harf="FF"
elif basari < 40:
harf="DD"
elif basari < 50:
harf="DC"
elif basari < 60:
harf="CC"
elif basari < 70:
harf="CB"
elif basari < 80:
harf="BB"
elif basari < 90:
harf="BA"
elif basari < 101:
harf="AA"
else:
print("geçersiz islem")
print("{} başarı notun {} harf karşılığı {}".format(isim,basari,harf))

--------------

vke

isim=input("isim giriniz")
kilo=int(input("kilo giriniz: "))
boy=float(input("boy giriniz (cm cinsinden): "))
vke=kilo/(boy**2)
sonuc=None
if vke < 18.5:
sonuc="zayıf"
elif vke < 26:
sonuc="normal"
elif vke < 31:
sonuc="fazla kilolu"
elif vke > 30:
sonuc="obez"
else:
print("geçersiz islem")
print("{} vücut kitle endeksin {:.1f} {} ".format(isim,vke,sonuc))
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.