From da87d4225cd91a4cdf14d9e2306c28f8091d229d Mon Sep 17 00:00:00 2001 From: JohnLightLuc <47230594+JohnLightLuc@users.noreply.github.com> Date: Fri, 5 Jun 2020 11:44:00 +0000 Subject: [PATCH 1/2] Write script hello --- scripts/hgn06157.js | 11 +++++++++++ scripts/hgn06157.php | 23 +++++++++++++++++++++++ scripts/hgn06157.py | 15 +++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 scripts/hgn06157.js create mode 100644 scripts/hgn06157.php create mode 100644 scripts/hgn06157.py diff --git a/scripts/hgn06157.js b/scripts/hgn06157.js new file mode 100644 index 00000000..19d331b3 --- /dev/null +++ b/scripts/hgn06157.js @@ -0,0 +1,11 @@ + + +var data = { + 'id': "HNG-06157", + 'fullname': "TOURE Lamagnigui", + 'email': "lamagniguitoure@gmail.com", + 'language': "JavaScript" + +} + +console.log("Hello World, this is"+ data.fullname + " with HNGi7 ID "+ data.id + " and email "+ data.email + " using "+ data.language + " for stage 2 task"); \ No newline at end of file diff --git a/scripts/hgn06157.php b/scripts/hgn06157.php new file mode 100644 index 00000000..48bbe4c8 --- /dev/null +++ b/scripts/hgn06157.php @@ -0,0 +1,23 @@ + "HNG-06157", + 'fullname'=> "TOURE Lamagnigui", + 'email'=> "lamagniguitoure@gmail.com", + 'language'=> "PhP" +]; +?> + + + + + + + Document + + + Hello World, this is with HNGi7 ID ".$data['id']. "and email ".$data['email']. " using ".$data['language']. " for stage 2 task"; + ?> + + \ No newline at end of file diff --git a/scripts/hgn06157.py b/scripts/hgn06157.py new file mode 100644 index 00000000..9f4a9e18 --- /dev/null +++ b/scripts/hgn06157.py @@ -0,0 +1,15 @@ +#HNGi7 TASK FOR STAGE 2 +#TEAM FLASH + +data = { + 'id': "HNG-06157", + 'fullname': "TOURE Lamagnigui", + 'email': "lamagniguitoure@gmail.com", + 'language': "Python" + + } + +def presentation(fullname, id, email, language): + return "Hello World, this is {} with HNGi7 ID {} and email {} using {} for stage 2 task".format(fullname, id, email, language ) + +print(presentation(data['fullname'],data['id'], data['email'], data['language'])) \ No newline at end of file From dc6cd1e06ecb1e54be3aed070215957116c01353 Mon Sep 17 00:00:00 2001 From: JohnLightLuc <47230594+JohnLightLuc@users.noreply.github.com> Date: Sat, 6 Jun 2020 18:05:05 +0000 Subject: [PATCH 2/2] change file name --- scripts/HGN-06157.js | 11 +++++++++++ scripts/hgn06157.js | 11 ----------- scripts/hgn06157.php | 23 ----------------------- scripts/hgn06157.py | 15 --------------- 4 files changed, 11 insertions(+), 49 deletions(-) create mode 100644 scripts/HGN-06157.js delete mode 100644 scripts/hgn06157.js delete mode 100644 scripts/hgn06157.php delete mode 100644 scripts/hgn06157.py diff --git a/scripts/HGN-06157.js b/scripts/HGN-06157.js new file mode 100644 index 00000000..a35dbd24 --- /dev/null +++ b/scripts/HGN-06157.js @@ -0,0 +1,11 @@ + + +var data = { + 'id': "HNG-06157", + 'fullname': "TOURE Lamagnigui", + 'email': "lamagniguitoure@gmail.com", + 'language': "JavaScript" + +} + +console.log("Hello World, this is "+ data.fullname + " with HNGi7 ID "+ data.id + " and email "+ data.email + " using "+ data.language + " for stage 2 task"); \ No newline at end of file diff --git a/scripts/hgn06157.js b/scripts/hgn06157.js deleted file mode 100644 index 19d331b3..00000000 --- a/scripts/hgn06157.js +++ /dev/null @@ -1,11 +0,0 @@ - - -var data = { - 'id': "HNG-06157", - 'fullname': "TOURE Lamagnigui", - 'email': "lamagniguitoure@gmail.com", - 'language': "JavaScript" - -} - -console.log("Hello World, this is"+ data.fullname + " with HNGi7 ID "+ data.id + " and email "+ data.email + " using "+ data.language + " for stage 2 task"); \ No newline at end of file diff --git a/scripts/hgn06157.php b/scripts/hgn06157.php deleted file mode 100644 index 48bbe4c8..00000000 --- a/scripts/hgn06157.php +++ /dev/null @@ -1,23 +0,0 @@ - "HNG-06157", - 'fullname'=> "TOURE Lamagnigui", - 'email'=> "lamagniguitoure@gmail.com", - 'language'=> "PhP" -]; -?> - - - - - - - Document - - - Hello World, this is with HNGi7 ID ".$data['id']. "and email ".$data['email']. " using ".$data['language']. " for stage 2 task"; - ?> - - \ No newline at end of file diff --git a/scripts/hgn06157.py b/scripts/hgn06157.py deleted file mode 100644 index 9f4a9e18..00000000 --- a/scripts/hgn06157.py +++ /dev/null @@ -1,15 +0,0 @@ -#HNGi7 TASK FOR STAGE 2 -#TEAM FLASH - -data = { - 'id': "HNG-06157", - 'fullname': "TOURE Lamagnigui", - 'email': "lamagniguitoure@gmail.com", - 'language': "Python" - - } - -def presentation(fullname, id, email, language): - return "Hello World, this is {} with HNGi7 ID {} and email {} using {} for stage 2 task".format(fullname, id, email, language ) - -print(presentation(data['fullname'],data['id'], data['email'], data['language'])) \ No newline at end of file