Home
О нас
Products
Services
Регистрация
Войти
Поиск
MrFear41
@MrFear41
July 2022
1
9
Report
переведите из паскаля в питон
Var
a, b, k: integer;
Begin
k := 0;
For a:= 10 to 99 do
For b:= 10 to 99 do
if (a+b <= 100) then
k := k+1;
WriteLn('k = ',k)
End.
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
helloplshelpme
Python 3:
k = 0
for a in range(10, 100):
[tab] for b in range(10, 100):
[tab] [tab] if ((a+b)<=100):
[tab] [tab] [tab] k+=1
[tab] [tab] [tab] print('k=', k)
P.S. один [tab] - 4 пробела
2 votes
Thanks 1
helloplshelpme
Я отредактировал, теперь всё верно
×
Report "переведите из паскаля в питон Var a, b, k: integer; Begin k := 0; For a:= 10 to ..."
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 © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
k = 0
for a in range(10, 100):
[tab] for b in range(10, 100):
[tab] [tab] if ((a+b)<=100):
[tab] [tab] [tab] k+=1
[tab] [tab] [tab] print('k=', k)
P.S. один [tab] - 4 пробела