Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.
Login
Login
OnlineGDB Q&A
Questions
Unanswered
Tags
Ask a Question
Ask a Question
Why isn’t any code working?
+3
votes
asked
Feb 14, 2019
by
Cropalin
(
150
points)
Whenever I am using python, I would type in a command like print (“Hello there”) but nothing works, and when I run the program, all it does is say that there is a syntax error. Could anyone help me out?
python
urgent
needhelp
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or register.
3 Answers
0
votes
answered
Feb 14, 2019
by
Admin
(
5,100
points)
Can you share your code via "Share" button?
commented
Feb 16, 2019
by
anonymous
which editor you use
commented
Feb 16, 2019
by
Admin
(
5,100
points)
OnlineGDB ide
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or register.
+1
vote
answered
Nov 7, 2019
by
dheeraj
(
1,090
points)
print ("Hello there")
use this
u are not using double couts
commented
Feb 18, 2020
by
Nando Abreu
(
970
points)
Sometimes copy-pasted code from websites brings smart/curly quotes instead of straight quotes and it messes up. Can use single or double quotes, once there straight.
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or register.
0
votes
answered
Feb 18, 2020
by
Nando Abreu
(
970
points)
Sometimes copy-pasted code from websites brings smart/curly quotes instead of straight quotes and it messes up. Can use single or double quotes, once there straight.
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or register.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...