#7-amaliy Xudoyberdiyev Dilshodbek
Download 12.27 Kb.
|
#7-amaliy Xudoyberdiyev Dilshodbek #1-misol #import math #x=float(input("x=")) #y=float(input("y=")) #z=float(input("z=")) #f=(math.pow(math.e,math.fabs(x-y))*math.pow(math.fabs(x-y),x+y))/(math.atan(x)+math.atan(z))+math.pow(x**6+math.log(y) ** 2,1/3) #print("{:.3f}".format(f)) #matn=input("matn kiriting:") #matndagi_harf=input("ixtiyoriy_harf=") #uzgartirilgan_harf =input("uzgartirilgan_harf=") #ozgartirilgan_matn = matn.replace(matndagi_harf, uzgartirilgan_harf) #print(ozgartirilgan_matn) #matn = input("Matn kiriting: ") #harf = input("Qaysi harfning sonini bilishni xohlaysiz: ") #soni = matn.count(harf) #print(f"{harf} harfi {soni} marta paydo bo'ldi.") #3-misol
n = int(input("n sonini kiriting: ")) eng_katta = int(input("Birinchi sonni kiriting: ")) for i in range(1, n): son = int(input(f"{i + 1}-sonni kiriting: ")) if son > eng_katta: eng_katta = son print(f"Eng katta son: {eng_katta}") Download 12.27 Kb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling