Skip to content

Commit 9fe5ce3

Browse files
committed
Adds a 'Hello World' Python Challenge
1 parent 6314c01 commit 9fe5ce3

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

Python/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# HackerRank Challenges about Python programming language
22

33
- A Very Big Sum: [Challenge](https://www.hackerrank.com/challenges/a-very-big-sum/problem) - [Solution](https://github.com/monoprosito/hackerrank_challenges/tree/master/Python/a_very_big_sum)
4+
- Say "Hello, World!" with Python: [Challenge](https://www.hackerrank.com/challenges/py-hello-world/problem) - [Solution](https://github.com/monoprosito/hackerrank_challenges/tree/master/Python/say_hello_world_with_python)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
### Problem
2+
3+
Here is a sample line of code that can be executed in Python:
4+
5+
```python3
6+
print("Hello, World!")
7+
```
8+
9+
You can just as easily store a string as a variable and then print it to stdout:
10+
11+
```python3
12+
my_string = "Hello, World!"
13+
print(my_string)
14+
```
15+
16+
The above code will print Hello, World! on your screen. Try it yourself in the editor below!
17+
18+
### Input Format
19+
20+
You do not need to read any input in this challenge.
21+
22+
### Output Format
23+
24+
Print Hello, World! to stdout.
25+
26+
### Sample Output 0
27+
28+
```
29+
Hello, World!
30+
```
31+
32+
**Author:** [Shashank Sharma](https://www.hackerrank.com/profile/shashank21j)
33+
34+
**Difficulty:** Easy
35+
36+
**Max Score:** 5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
if __name__ == '__main__':
2+
print('Hello, World!')

0 commit comments

Comments
 (0)