From ed5473c15bdb472219056b30850605cf7e3b9a18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Mo=C5=BEina?= Date: Mon, 26 Oct 2015 17:50:22 +0100 Subject: Corrected tests in for-loop problems. Fixed some typos. --- python/problems/introduction/fahrenheit_to_celsius/sl.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'python/problems/introduction/fahrenheit_to_celsius') diff --git a/python/problems/introduction/fahrenheit_to_celsius/sl.py b/python/problems/introduction/fahrenheit_to_celsius/sl.py index 9d6650c..4b53978 100644 --- a/python/problems/introduction/fahrenheit_to_celsius/sl.py +++ b/python/problems/introduction/fahrenheit_to_celsius/sl.py @@ -24,13 +24,14 @@ ime = input("Kako ti je ime?") shrani uporabnikov odgovor v spremenljivko ime.

'''] expressions_python = ['''\ -

Pythonu vse izraze izračuna.

''', +

Kot kaže, imaš temperaturo v Fahrenheitih že prebrano. +Zdaj pa izračunaj temperaturo v Celzijevih stopinjah.

''', '''\ -

Če napišemo

+

Python izraze izračuna. Če napišemo

 3 + 6 * 5
 
-

bo Python izračunal 3 + 6 * 5.

''', +

bo izračunal 3 + 6 * 5.

''', '''\

Kadar želimo rezultat shraniti, za to uporabimo prireditveni stavek, kjer na levo napišemo ime spremenljivke, na desno pa izraz:

-- cgit v1.2.1