diff --git a/Python/hello-python/finish.md b/Python/hello-python/finish.md new file mode 100644 index 0000000000000000000000000000000000000000..01de3d718f3bd3092993744ae3ecf9027cfced08 --- /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 0000000000000000000000000000000000000000..0c5f5544b713544d0772e4fd4cac5f4a5f2a9994 --- /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 0000000000000000000000000000000000000000..5d072f1614e77833536b0bc13b1c50a895a9738d --- /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 0000000000000000000000000000000000000000..e186583ba8cfb689d7b54e32d44c67a4f0c7b725 --- /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}}