NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

Ödev 1:
john = 3
mary = 5
adem = 6
toplam = john+mary+adem #Toplam elma sayısı toplam değişkenine atanmıştır.
print("John'un elma sayısı: ", john,"Mary'nin elma sayısı: ",mary,"Adem'in elma sayısı: ", adem) #John, Mary ve Adem'in elmaları sırasıyla çıktıda gösterilir.
print("Toplam elma sayısı:", toplam) #Toplam elma sayısının çıktısı alınır.
print("Toplam elma sayısının Mary'nin elma sayısına oranı: ", toplam/mary) #Toplam elma sayısının Mary'nin elma sayısına oranının çıktısı alınır.
print("John'un elması Mary'nin elma sayısından büyüktür = ", john > mary)
print("John^Mary^Adem işleminin sonucu: ", john**mary**adem) #John'un elma sayısı üssü Mary'nin elma sayısı üssü Adem'in elma sayısını işleminin sonucu çıktı olarak gösterilir.

Çıktı:
John'un elma sayısı: 3 Mary'nin elma sayısı: 5 Adem'in elma sayısı: 6
Toplam elma sayısı: 14
Toplam elma sayısının Mary'nin elma sayısına oranı: 2.8
John'un elması Mary'nin elma sayısından büyüktür = False
John^Mary^Adem işleminin sonucu: (uzun bir sayı)

Ödev 2-Ödev 3:
#Kilometre-Mil Çevirme
#1 mil 1.61 kilometreye eşittir.
kilometre = 12.25
mil = 7.38

mil_kilometre = mil*1.61

kilometre_mil = kilometre/1.61

print(mil, "mil", round(mil_kilometre, 2), "kilometredir.")

print(kilometre, "kilometre", round(kilometre_mil, 2), "mildir.")

#TL-Dolar Çevirme
#1 dolar 6.90 TL kabul edilir.
dolar = 14.50
tl = 57

tl_dolar = tl/6.90
dolar_tl = dolar*6.90

print(tl, "TL", round(tl_dolar, 2), "dolardır.")

print(dolar, "dolar", round(dolar_tl, 2), "TLdir.")

Çıktı:
7.38 mil 11.88 kilometredir.
12.25 kilometre 7.61 mildir.
57 TL 8.26 dolardır.
14.5 dolar 100.05 TLdir.

Ödev 4:
x = 1
x = float(x)
y = (3*x**3)-(2*x**2)+3*x-1
print("y = ",y)

Çıktı: 3.0

Ödev 5:
# Bu program belirli bir saatteki saniye sayısını hesaplar.
saat = 2
saniye = 3600

print("Saat: ", saat)

print("Saatteki saniye: ", saat*saniye) # Saatin 3600'e çarpımı ile girilen saatteki saniye hesaplanmış olur.

     
 
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.