Skip to content

Commit

Permalink
St 02.04.2014 13:55
Browse files Browse the repository at this point in the history
  • Loading branch information
MarrekNozka committed Apr 2, 2014
1 parent 1043269 commit 173407f
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
14 changes: 14 additions & 0 deletions rovnice.py
@@ -0,0 +1,14 @@
#!/usr/bin/python


def kvadraticka(a, b, c):
return 20


def kubicka(a, b, c, d):
return 77

x = 16
y = 'ahoj'

print 'Inicializuji se'
17 changes: 17 additions & 0 deletions vyjimky.py
@@ -0,0 +1,17 @@
#!/usr/bin/python
# -*- coding: utf8 -*-
from __future__ import unicode_literals

x = raw_input('zadej cislo > ')

try:
print 5*7
print 5*12
print 5*int(x)
print 'dfd'*'fjdkfjdk'
except ValueError:
print('musíš zadat opravdu číslo')
except KeyboardInterrupt:
print('uživtel ukončil program')
except:
print('jiná chyba')
18 changes: 18 additions & 0 deletions vypocet.py
@@ -0,0 +1,18 @@
#!/usr/bin/python

import rovnice
from rovnice import y
from rovnice import y as ypsilon

import scipy.interpolate as inter

from rovnice import *

print rovnice.x
print rovnice.y

print rovnice.kvadraticka(3, 4, 17)

y = 22
print y
print rovnice.y

0 comments on commit 173407f

Please sign in to comment.