formulahendry / formulahendry/vscode-code-runner

[Bug] print(k, end=' ') in python3

Open
#573 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

- VS Code Version:1.41.1
- OS Version:linux x64 5.0.0-13-generic
- Code Runner Version:0.9.15

**Describe the bug**
it shows SyntaxError: invalid syntax when i click Run Code but not when debugging
or other ways to run code
**To Reproduce**
Steps to reproduce the behavior:
1. python3 print(k, end=" "),when i click Run Code,it will show
print(k, end=' ')
^
SyntaxError: invalid syntax
2. but it go succsessfully when i debug or run the code without using Code Runner,
and it also succeed in pycharm.

**Actual behavior**
SyntaxError: invalid syntax

**Expected behavior**
run successfully
**Screenshots**
If applicable, add screenshots to help explain your problem.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.