A masalaning yecchimi python dasturlash tilida:

a = int(input())
b = int(input())
c = int(input())
d = int(input())
v = [('Anna', a), ('Zafar', b), ('Shohruxmirzo', c), ('Umida', d)]
v.sort(key=lambda x: x[1], reverse=True)
for i, (n, _) in enumerate(v, 1):
   print(f"{i}-o'rin: {n}")

B masalaning yechimi python dasturlash tilida :

a = int(input())
u = int(input())
s= int(input())
z = int(input())
ovozlar = [
   (a, "Anna"),
   (u, "Umida"),
   (s, "Shohruxmirzo"),
   (z, "Zafar")
]
j = max(ovozlar, key=lambda x: x[0])
print(j[1])

C masalaning yechimi python dasturlash tilida:

j = input()
j=int(j[:3])
z = int(input())
u = int(input())
s = int(input())
a = int(input())
a = (a / j) * 100
u = (u / j) * 100
s = (s / j) * 100
z = (z / j) * 100
print(f"Zafar-{z:.0f}%")
print(f"Umida-{u:.0f}%")
print(f"Shohruxmirzo-{s:.0f}%")
print(f"Anna-{a:.0f}%")

D masalaning yechimi python dasturlash tilida:

import math
a, b = map(int, input().split())
c = math.sqrt(a**2 + b**2)
print(int(c))

E masalaning yechimi python dasturlash tilida:

import math
a, b = map(int, input().split())
c_kv = a**2 + b**2
c = math.sqrt(c_kv)
def f(n):
   return int(math.isqrt(n))**2 == n
if f(c_kv):
   r = str(int(math.sqrt(c_kv)))
else:
   r = f"2**({1}/2)"
print(r)

F masalaning yechimi python dasturlash tilida:

def f(a, b, c):
   return a + b > c and a + c > b and b + c > a
a, b, c = map(int, input().split())
if f(a, b, c):
   print('''"YES"''')
else:
   print('''"NO"''')

G masalaning yechimi python dasturlash tilida:

k = int(input().strip())
m = int(input().strip())
a = int(input().strip())
c_k = 1500
c_m = 1000
t = (k * c_k) + (m * c_m) + a
print(f"{t} so`m")

H masalaning yechimi python dasturlash tilida:

m = int(input())
n, x = map(int, input().split())
if m >= 2:
    d = x * 2
else:
    d = x
f = n * (1 - d / 100)
print(f"{f*m:.0f}$")

I masalaning yechimi python asturlash tilida:

a = int(input())
b = input().split()
toq = b[0::2]
juft = b[1::2]
print(*toq[::-1])
print(*juft[::-1])