---
title: "python"
description: "# Hello World program in Python import math a=input('vvedite a->'); b=input('vvedite b->');..."
author: "dan_ntu"
published: "2016-11-26T12:18:10+00:00"
modified: "2016-11-26T12:19:22+00:00"
locale: "ru"
canonical_url: "https://yvision.kz/post/python-730628"
markdown_url: "https://yvision.kz/post/python-730628/markdown"
site_name: "Yvision.kz"
---

# python

> # Hello World program in Python import math a=input('vvedite a->'); b=input('vvedite b->');...

![python](https://storage.yvision.kz/images/user/dan_ntu/apYd5Gp0WDrBJDP1u0Tvx4OLX981ll.jpg)

# Hello World program in Python

import math

a=input('vvedite a->');

b=input('vvedite b->');

if a>0 and a0 and b<=1000:

c=math.sqrt(a*a+b*b);

print c;

else:

print ('a,b ne dolzhno byt ne menshe 0 i bolshe 1000 ');

---

Source: [https://yvision.kz/post/python-730628](https://yvision.kz/post/python-730628)