Jump to content

Typical society in the Telegram - This is the backup site feed losper.net

Mass debate, problem-solving, assistance, support and a wonderful community ...

You can upload files in the Telegram channel and share link on the forum "Typical society."

This method helps to avoid broken links in the future and the loss of files on the site!

Important events on the site, you'll also find in our Telegram channel ...

Share your experiences with others, help, be responsive, friendly and communicate with other users.

ключ Получить ключ на 3 месяца для JetBrains редактора!


AndrewPro
 Share

Recommended Posts

  • Admin

SEO:

Получить бесплатно лицензионный ключ на 3 месяца или подписка на 3 месяца для редактора от JetBrains

 

Решение и Ответы:
Отвечайте на вопросы и получайте ключ на 3 месяца

https://stepik.org/lesson/6433/step/1?unit=1240

1.1
Программирование на Python
ВСЕ КРОМЕ! За каждую неверную попытку снимается 1 балл, но баллы не могут стать меньше 0

1.5
12345554321

Traceback (most recent call last):
  File "<input>", line 1, in <module>
ZeroDivisionError: division by zero

18064773765607550801425251468864907833685590016

1.6
1234.5
0.0012345
1.806477376560755e+46
2.3333333333333335
2

1.7
2
-1
89

1.8
X = int(input())
Y = int(input())
print(X*60 + Y)

X=int(input())
H=X//60
M=X%60
print(H)
print(M)

X=int(input())
H=int(input())
M=int(input())
R=H*60+M+X
H=R//60
M=R%60
print(H)
print(M)

1.9
((a and b) or ((not a) and (not b)))
True
False

1.10
A = int(input()) # рекомендуется спать хотя бы
B = int(input()) # не стоит спать более
H = int(input()) # Сейчас Аня спит
if A > H:
  print('Недосып')
elif H > B:
  print('Пересып')
else:
  print('Это нормально')

Y = int(input())
if (Y % 4 == 0 and not Y % 100 == 0) or Y % 400 == 0:
  print('Високосный')
else:
  print('Обычный')

1.11
"239" < "30" and 239 > 30
'12342'

1.12
a = int(input())
b = int(input())
c = int(input())
p = (a+b+c)/2
print(((p-a)*(p-b)*(p-c)*p)0.5)

a = int(input())
if -15 < a <= 12 or 14 < a < 17 or 19 <= a:
  print('True')
else:
  print('False')

x = float(input())
y = float(input())
o = input()
if o == '+':
  print(x+y)
elif o == '-':
  print(x-y)
elif o == '*':
  print(x*y)
elif o == '/':
  if y == 0.0:
    print('Деление на 0!')
  else:
      print(x/y)
if o == 'mod':
  if y == 0.0:
    print('Деление на 0!')
  else:
    print(x%y)
if o == 'pow':
  print(x**y)
if o == 'div':
  if y == 0.0:
    print('Деление на 0!')
  else:
    print(x//y)

f = input()
if f == 'треугольник':
  a=float(input())
  b=float(input())
  c=float(input())
  p=(a+b+c)/2
  print((p*(p-a)*(p-b)*(p-c)).5)
elif f == 'прямоугольник':
  print(float(input())*float(input()))
elif f == 'круг':
  print(3.14*(float(input())**2))

max = int(input())
mid = int(input())
min = int(input())
if mid > max: old = max; max = mid; mid = old # b max
if min > max: old = max; max = min; min = old # c max
if min > mid: old = mid; mid = min; min = old # c mid
print(max)
print(min)
print(mid)

n = int(input())
if n % 10 == 0 or 11 <= n % 100 <= 19 or 5 <= n % 10 <= 9: print(n, 'программистов')
elif n % 10 == 1: print(n, 'программист')
else: print(n, 'программиста')

n = int(input())
h = n // 1000
l = n % 1000
h1 = h // 100
h3 = h % 10
h2 = int((h - h1 * 100 - h3) / 10)
h = h1 + h2 + h3
l1 = l // 100
l3 = l % 10
l2 = int((l - l1 * 100 - l3) / 10)
l = l1 + l2 + l3
if h == l: print('Счастливый')
else: print('Обычный')


Общая информация о курсе
Stepik: online education (https://stepik.org/lesson/6433/step/1?unit=1240)

Telegram сайта  "Типичный социум"

Do not be indifferent. Support for motivation to continue on to engage in this further! Thanks

img.png

Link to comment
Share on other sites

  • AndrewPro changed the title to Получить ключ на 3 месяца для JetBrains редактора!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

Обжалование или подача апелляции на снятие Бана в группе "Типичный Социум IT!
Заявки и обжалование отправлять в Телеграм bot @ModeratorTS_Bot


  • Donation

  • 110 Небольшой соц. опрос по определенным языкам программирования...

    1. 1. Выберите язык программирования из списка, который вам больше всего нравится или на котором вы программируете?


      • PHP 7.x
      • JavaScript
      • Python 3.x
      • C#
      • Node.js
      • Dart \ Flutter
      • ASP.Net Core
      • .Net Core
      • C++
      • TypeScript
      • Ruby
      • Go
      • Kotlin

  • 107 Небольшой соц. опрос по определенным IDE (TOP 15 IDE)

    1. 1. Выберите из списка среду разработки на которой вы пишите код


      • Visual Studio Community
      • VS Code
      • WebStorm
      • PhpStorm
      • NetBeans
      • Notepad++
      • Eclipse
      • IntelliJ IDEA
      • PyCharm
      • Qt
      • Android Studio
      • Другие редакторы от JetBrains
      • SublimeText
      • Vim
      • Atom

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.Privacy Policy

Search In
  • More options...
Find results that contain...
Find results in...

Write what you are looking for and press enter or click the search icon to begin your search

-->