# Missing parentheses in call to 'print'. Did you mean print(msg) error

**URL:** <https://get-help.theconstruct.ai/t/missing-parentheses-in-call-to-print-did-you-mean-print-msg-error/15081>\
**Category:** TF ROS 101\
**Created:** [January 30, 2022, 5:47am UTC](https://get-help.theconstruct.ai/t/missing-parentheses-in-call-to-print-did-you-mean-print-msg-error/15081 "2022-01-30T05:47:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph1001](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/joseph1001/32/7077_2.png) [@Joseph1001](https://get-help.theconstruct.ai/u/Joseph1001)\
**Post date:** [January 30, 2022, 5:47am UTC](https://get-help.theconstruct.ai/t/missing-parentheses-in-call-to-print-did-you-mean-print-msg-error/15081/1 "2022-01-30T05:47:35Z")

</div>

In TF ROS, unit 2, When trying to run the program to move the robot using keyboard using program:

`roslaunch turtle_tf_3d turtle_keyboard_move.launch`

I get the error:

```auto
    print msg
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(msg)?
[turtle1_twist_keyboard-1] process has died [pid 10079, exit code 1, cmd /home/simulations/public_sim_ws/src/all/turtle_3d/turtle_tf_3d/scripts/turtle_twist_keyboard.py turtle1 __name:=turtle1_twist_keyboard__ log:=/home/user/.ros/log/f19e0d30-818b-11ec-bf51-0242c0a86008/turtle1_twist_keyboard-1.log].
log file: /home/user/.ros/log/f19e0d30-818b-11ec-bf51-0242c0a86008/turtle1_twist_keyboard-1*.log

```

Can i know what went wrong? my python version is **Python 3.8.10**

---

<div class="post-metadata">

**Author:** ![Joseph1001](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/joseph1001/32/7077_2.png) [@Joseph1001](https://get-help.theconstruct.ai/u/Joseph1001)\
**Post date:** [January 30, 2022, 6:04am UTC](https://get-help.theconstruct.ai/t/missing-parentheses-in-call-to-print-did-you-mean-print-msg-error/15081/2 "2022-01-30T06:04:38Z")

</div>

It worked when i manually added parathesis to each print function. But i dont think i should have to since this was a demo program. Is the error based on the python version?

---

<div class="post-metadata">

**Author:** ![duckfrost2](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/duckfrost2/32/9365_2.png) [@duckfrost2](https://get-help.theconstruct.ai/u/duckfrost2)\
**Post date:** [January 31, 2022, 11:55am UTC](https://get-help.theconstruct.ai/t/missing-parentheses-in-call-to-print-did-you-mean-print-msg-error/15081/3 "2022-01-31T11:55:32Z")

</div>

Yeah,

This error is due to the python3 has no print without parethesis, Thnaks for reporting this issue and it will be fixed in the next weekly update
