# Exercism first Exercise

**URL:** <https://forum.codewithmosh.com/t/exercism-first-exercise/11234>\
**Category:** Python\
**Created:** [March 13, 2022, 9:43am UTC](https://forum.codewithmosh.com/t/exercism-first-exercise/11234 "2022-03-13T09:43:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Knightcode](https://avatars.discourse-cdn.com/v4/letter/k/c68b51/32.png) [@Knightcode](https://forum.codewithmosh.com/u/Knightcode)\
**Post date:** [March 13, 2022, 9:43am UTC](https://forum.codewithmosh.com/t/exercism-first-exercise/11234/1 "2022-03-13T09:43:55Z")

</div>

Hello

This is my first post on this forum  
I am new to coding using Python

I have joined Exercism to sharpen my skills in Python

But when i run the first exercise “Hello World”, it print an error,

Could someone help me what is the issue?

Thank you very much.

---

<div class="post-metadata">

**Author:** ![uLN](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/uln/32/3084_2.png) [@uLN](https://forum.codewithmosh.com/u/uLN)\
**Post date:** [March 13, 2022, 12:31pm UTC](https://forum.codewithmosh.com/t/exercism-first-exercise/11234/2 "2022-03-13T12:31:09Z")

</div>

Hi!

Make sure you have correct characters and SYMBOLS (punctuation: , . : = ‘’ ")  
The following code works

```auto
print('Hello world!') 

```

or

```auto
print("Hello world!")

```

Here you can single and double quotation marks. Either way, you get the same result.

---

<div class="post-metadata">

**Author:** ![Muhammad](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@Muhammad](https://forum.codewithmosh.com/u/Muhammad)\
**Post date:** [April 3, 2022, 11:34am UTC](https://forum.codewithmosh.com/t/exercism-first-exercise/11234/3 "2022-04-03T11:34:00Z")

</div>

Should we get an exam at the end of the course?

---

<div class="post-metadata">

**Author:** ![MikeJones](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/mikejones/32/5577_2.png) [@MikeJones](https://forum.codewithmosh.com/u/MikeJones)\
**Post date:** [February 21, 2023, 9:18pm UTC](https://forum.codewithmosh.com/t/exercism-first-exercise/11234/4 "2023-02-21T21:18:20Z")

</div>

Again, and old post, but hopefully someone can be helped.

I have done the first exercise on Exercism., and got stuck on a small error. The exercise tests require an exact match. Be sure to use “Hello, World!” in your print statement.

Take away: Be sure to proofread your source carefully and be sure it matches EXACTLY what is being asked for, if appropriate.

---

<div class="post-metadata">

**Author:** ![mjmcs13](https://avatars.discourse-cdn.com/v4/letter/m/a9adbd/32.png) [@mjmcs13](https://forum.codewithmosh.com/u/mjmcs13)\
**Post date:** [February 23, 2023, 1:31pm UTC](https://forum.codewithmosh.com/t/exercism-first-exercise/11234/5 "2023-02-23T13:31:24Z")

</div>

> [@uLN](#):
>
> `print("Hello world!")`

I copy and paste your code got the same error

Unexpected token ‘app.py’ in expression or statement.  
+ CategoryInfo : ParserError: (🙂 , ParentContainsErrorRecordException  
+ FullyQualifiedErrorId : UnexpectedToken

---

<div class="post-metadata">

**Author:** ![MikeJones](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/mikejones/32/5577_2.png) [@MikeJones](https://forum.codewithmosh.com/u/MikeJones)\
**Post date:** [February 24, 2023, 11:23pm UTC](https://forum.codewithmosh.com/t/exercism-first-exercise/11234/7 "2023-02-24T23:23:19Z")

</div>

Put a comma after the word World, as in “Hello, World!”. As in my example above.

---

<div class="post-metadata">

**Author:** ![Ankit8848](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@Ankit8848](https://forum.codewithmosh.com/u/Ankit8848)\
**Post date:** [August 3, 2023, 12:28pm UTC](https://forum.codewithmosh.com/t/exercism-first-exercise/11234/8 "2023-08-03T12:28:13Z")

</div>

I think they talk about printing Hello world by defining a function. so, you can do this way : def hello():  
return ‘Hello, World!’
