From 4d7a53db3a9ee4365a8a75d260a86daeb7bbc498 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7oise=20Conil?= <francoise.conil@insa-lyon.fr>
Date: Thu, 20 Feb 2020 16:21:34 +0100
Subject: [PATCH] Python hello world as first Katacoda scenario

---
 Python/hello-python/finish.md  |  1 +
 Python/hello-python/index.json | 28 ++++++++++++++++++++++++++++
 Python/hello-python/intro.md   |  1 +
 Python/hello-python/step1.md   |  3 +++
 4 files changed, 33 insertions(+)
 create mode 100644 Python/hello-python/finish.md
 create mode 100644 Python/hello-python/index.json
 create mode 100644 Python/hello-python/intro.md
 create mode 100644 Python/hello-python/step1.md

diff --git a/Python/hello-python/finish.md b/Python/hello-python/finish.md
new file mode 100644
index 0000000..01de3d7
--- /dev/null
+++ b/Python/hello-python/finish.md
@@ -0,0 +1 @@
+Well done, now try a more complex scenario.
diff --git a/Python/hello-python/index.json b/Python/hello-python/index.json
new file mode 100644
index 0000000..0c5f554
--- /dev/null
+++ b/Python/hello-python/index.json
@@ -0,0 +1,28 @@
+{
+  "title": "Hello Python",
+  "description": "The well known hello world example",
+  "difficulty": "Beginner",
+  "time": "1 minute",
+  "details": {
+    "steps": [
+      {
+        "title": "Step 1",
+        "text": "step1.md"
+      }
+    ],
+    "intro": {
+      "text": "intro.md"
+    },
+    "finish": {
+      "text": "finish.md"
+    }
+  },
+  "files": ["hello-world.py"],
+  "environment": {
+    "uilayout": "editor-terminal",
+    "uisettings": "python"
+  },
+  "backend": {
+    "imageid": "python"
+  }
+}
diff --git a/Python/hello-python/intro.md b/Python/hello-python/intro.md
new file mode 100644
index 0000000..5d072f1
--- /dev/null
+++ b/Python/hello-python/intro.md
@@ -0,0 +1 @@
+In this scenario you will learn how to write and execute the famous hello world display in Python.
diff --git a/Python/hello-python/step1.md b/Python/hello-python/step1.md
new file mode 100644
index 0000000..e186583
--- /dev/null
+++ b/Python/hello-python/step1.md
@@ -0,0 +1,3 @@
+Enter the following line in the editor : print("Hello world")
+
+Then execute the script `python hello-world.py`{{execute}}
-- 
GitLab