Home
О нас
Products
Services
Регистрация
Войти
Поиск
sonyaAsonya15
@sonyaAsonya15
August 2021
1
8
Report
РЕБЯТА !!! КТО РЕШИТ!!!! 100 БАЛОВ ! НАПИСАТЬ ПРОГРАМОЮ ПАЙТОН!!!
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms of service
You must agree before submitting.
Send
Answers & Comments
petyaGavrikov
Verified answer
Дробь:
x = int(input("x = "))
y = int(input("y = "))
z = (x*x-y*y)/(x*x+y*y)
print(z)
Пример:
x = 5
y = 3
0.47058823529411764
Куб:
a = int(input("a = "))
v = a*a*a
s = 6*a*a
print("v =",v," s =",s)
Пример:
a = 5
v = 125 s = 150
1.
n = 10
a = []
a = input().split()
print(a)
a[4] = '123'
print(a)
Пример:
99 12 5+6 ru ABC @ n 000 m 10
['99', '12', '5+6', 'ru', 'ABC', '@', 'n', '000', 'm', '10']
['99', '12', '5+6', 'ru', '123', '@', 'n', '000', 'm', '10']
2.
from random import random
n = 10
a = []
for i in range(n):
b = int(random() * 50)
a.append(b)
print(a)
a[0] = a[7]
print(a)
Пример:
[10, 17, 25, 36, 42, 45, 39, 27, 1, 36, 31]
[27, 17, 25, 36, 42, 45, 39, 27, 1, 36, 31]
3.
from random import random
n = 10
a = []
for i in range(n):
b = float(random())
a.append(b)
for i in range(n): print('%.3f' % (a[i]),end=' ')
print()
a[1] = 2*a[1]
for i in range(n): print('%.3f' % (a[i]),end=' ')
Пример:
0.957 0.570 0.227 0.140 0.782 0.472 0.490 0.024 0.924 0.574
0.957 1.141 0.227 0.140 0.782 0.472 0.490 0.024 0.924 0.574
0 votes
Thanks 0
sonyaAsonya15
эт оч сложно, мне атк учитель не оверить, шоя так могу.
More Questions From This User
See All
sonyaAsonya15
July 2022 | 0 Ответы
pomogitepozhalujsta2e211d5467bc213510f8f211960de457 87977
Answer
sonyaAsonya15
July 2022 | 0 Ответы
pomogite napisat programmoj python
Answer
sonyaAsonya15
July 2022 | 0 Ответы
pomogite s informatikoj 30 balov
Answer
рекомендуемые вопросы
rarrrrrrrr
August 2022 | 0 Ответы
o chem dolzhny pozabotitsya v pervuyu ochered vzroslye pri organizacionnom vyvoze n
danilarsentev
August 2022 | 0 Ответы
est dva stanka na kotoryh vypuskayut odinakovye zapchasti odin proizvodit a zapcha
myachina8
August 2022 | 0 Ответы
najti po grafiku otnoshenie v3v1 v otvetah napisano 9 no nuzhno reshenie
ydpmn7cn6w
August 2022 | 0 Ответы
Choose the correct preposition: 1.I am fond (out,of,from) literature. 2.where ar...
millermilena658
August 2022 | 0 Ответы
opredelite kak sozdavalas i kto sozdaval arabskoe gosudarstvo v kracii
MrZooM222
August 2022 | 0 Ответы
ch ajtmanov v rasskaze krasnoe yabloko ispolzuet metod rasskaz v rasskaze opi
timobila47
August 2022 | 0 Ответы
kakovo bylo naznachenie kazhdoj iz chastej vizantijskogo hrama pomogite pozhalujsta
ivanyyaremkiv
August 2022 | 0 Ответы
moment. 6....
pozhalujsta8b98a56c0152a07b8f4cbcd89aa2f01e 97513
sarvinozwakirjanova
August 2022 | 0 Ответы
pomogite pozhalusto pzha519d7eb8246a08ab0df06cc59e9dedb 6631
×
Report "РЕБЯТА !!! КТО РЕШИТ!!!! 100 БАЛОВ ! НАПИСАТЬ ПРОГРАМОЮ ПАЙТОН!!!..."
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
О нас
Политика конфиденциальности
Правила и условия
Copyright
Контакты
Helpful Social
Get monthly updates
Submit
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
Дробь:x = int(input("x = "))
y = int(input("y = "))
z = (x*x-y*y)/(x*x+y*y)
print(z)
Пример:
x = 5
y = 3
0.47058823529411764
Куб:
a = int(input("a = "))
v = a*a*a
s = 6*a*a
print("v =",v," s =",s)
Пример:
a = 5
v = 125 s = 150
1.
n = 10
a = []
a = input().split()
print(a)
a[4] = '123'
print(a)
Пример:
99 12 5+6 ru ABC @ n 000 m 10
['99', '12', '5+6', 'ru', 'ABC', '@', 'n', '000', 'm', '10']
['99', '12', '5+6', 'ru', '123', '@', 'n', '000', 'm', '10']
2.
from random import random
n = 10
a = []
for i in range(n):
b = int(random() * 50)
a.append(b)
print(a)
a[0] = a[7]
print(a)
Пример:
[10, 17, 25, 36, 42, 45, 39, 27, 1, 36, 31]
[27, 17, 25, 36, 42, 45, 39, 27, 1, 36, 31]
3.
from random import random
n = 10
a = []
for i in range(n):
b = float(random())
a.append(b)
for i in range(n): print('%.3f' % (a[i]),end=' ')
print()
a[1] = 2*a[1]
for i in range(n): print('%.3f' % (a[i]),end=' ')
Пример:
0.957 0.570 0.227 0.140 0.782 0.472 0.490 0.024 0.924 0.574
0.957 1.141 0.227 0.140 0.782 0.472 0.490 0.024 0.924 0.574