Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Hi, when i implment any acrip in my device it work well, but when i try online it gives a syntax error in the print line !!!
python
1 Vote
3 Answers
16th Mar 2017, 12:51 PM
Abuobida Abdalkarim Mohammed Yousif
You can use the \n newline character to create line breaks, or, alternatively, create the desired output using three double quot
2
-1 Vote
1 Answer
12th May 2021, 12:28 AM
Siva Kumar S
What should I do for getting in to the line of Web Development ?? Please give me a list of languages.
coding
html
visual_studio
web_development
0 Votes
1 Answer
13th May 2020, 9:45 AM
Vaibhav Chopra
How to create a new line in web browser with java script ?there is only created a space with \n in browser.
c
c++
java
javascript
php
0 Votes
2 Answers
5th Jan 2018, 1:07 PM
Nitesh Bhootra
Input First line N (1<=N<=100). Then NxN table is given(all number are integers) Output The total sum of element that are locate
c++
cpp
help
problem
sololearn
sos
0 Votes
1 Answer
3rd Oct 2020, 5:02 AM
Azat Malgazhdar
Can I use String variable name as a alphanumeric variable name? also can we decleare a line including blank spaces as input?
java
strings
0 Votes
2 Answers
18th Aug 2016, 10:28 PM
Souparna Biswas
my program d = ray print('ray' *3) I run the output then I get an error last line talks about name type not identified I need some help
python
variables
0 Votes
4 Answers
31st Jul 2016, 12:57 AM
Raymond Obeng
Plzz tell me one thing if I want to run a print in a single line... Without line free \n what code I should used?
help
-1 Vote
1 Answer
4th Aug 2019, 2:15 PM
Ateex Taseer
why doesn't making line 4 " if i == 2 or 3:" cause the output to be 1 skipping 2 skipping 2 4 ... ?
loops
python
0 Votes
3 Answers
17th Aug 2016, 2:11 AM
Coleman Alexander
Input multiple values in one line...
c++
help
input
line
one
output
problem
store
value
0 Votes
4 Answers
24th Jun 2020, 7:33 AM
Aminul
i wrote a jave code and it runs but the problem is i threw an exception and i want it to take the user back to a line to execute
code
goto
gui
java
0 Votes
3 Answers
4th May 2019, 8:37 PM
Oden David
The code is written to print no.s upto user defined range in a single line without using string. What is the use of " * " ?
python3
0 Votes
2 Answers
29th Aug 2018, 7:33 PM
Ayan Biswas
Why can't we do this print(spam and eggs), print( bacon and eggs) i mean like why can't we type it on the same line .
dought
since
start
the
very
1 Vote
1 Answer
1st Jan 2021, 2:38 PM
Vyshnavi Chowdary
Can anyone help me with this?, .. am getting an "EOFError" in a line that requests for user input and I don't know what it means
python
1 Vote
1 Answer
8th Sep 2018, 6:27 AM
wizHÆVÊN§
I am unable to grasp ECMA6 ,can anyone help me with this project with single line comments explaining how to do this?
arrays
concat
ecma6
javascript
methods
strings
0 Votes
1 Answer
1st Nov 2021, 8:27 PM
Rubayet Kamal
There is a syntax mistake in the last line of this code. Could someone fix it please? import string list=[] for s in dir(string): list.append(s) for i in range(len(list)): n=list[i] print (string.str(n))
python
strings
syntax
2 Votes
4 Answers
5th Jan 2017, 1:45 PM
Anselm
What is the meaning of the following line in a class member function? Its all about this pointer! But i wanna know the exact ans
c++
0 Votes
2 Answers
21st Sep 2018, 2:36 PM
Bunny
did anybody face with the problem when no chance to type code? i see only strong green line where i should type code in last question
lists
python
0 Votes
3 Answers
31st Oct 2016, 6:49 AM
dima di
'Within a method definition, self refers to the instance calling the method.' What does this line mean on a page on python ?
python3
-1 Vote
1 Answer
25th Apr 2020, 12:43 PM
Mousin Ahanger
Q.2 I couldn't get line 3. module name is available as global var but from where we are accessing this ?in same/different file ?
python3
0 Votes
1 Answer
4th Jun 2021, 4:17 PM
lisa
Hey i need your help and would like to know why this code wont run..There is an current error in line 13/14..
canvas
images
javascript
-1 Vote
2 Answers
1st Feb 2017, 11:09 PM
Marc
Pls let me know the proper line of learning skills and y.I need suggestions.Which is more effective and amt of time 2 giv 2 each
<html><css>
1 Vote
1 Answer
26th Oct 2019, 9:58 PM
BEZ
Simple calculator
calculator
calculatoronpython
line
moduleproject
project
python
simplecalculator
stringsand
variables
0 Votes
2 Answers
14th May 2021, 8:52 AM
Шохинжон Махмадов
Please help on below lines: i could not able to input 2 values. After getting value of N, throwing error at line 3
if-statements
python
0 Votes
2 Answers
15th Nov 2017, 4:22 AM
Mohammed Farook
Please explain to me, why in the following code, in the first line of output, there is a sign ">" standing before "spam"?
magic-methods
python
0 Votes
2 Answers
16th Mar 2017, 1:15 AM
Sergio
For this code challenge, you need to read a line from stdin and store it to a variable, print 'Hello ubair' and then on anothe
c
c++
java
javascript
python
2 Votes
1 Answer
26th Jan 2018, 10:20 AM
Ubair Noor
How can i align two divs on a horizontal line in a way that it is resized to one column when the user resize the browser?
css
html5
1 Vote
1 Answer
8th Apr 2018, 12:24 PM
Fotie
When I write the first line of code to say Hi, it won't get the H with a capital letter. I can't go to the next question.
problem
python
0 Votes
3 Answers
22nd Mar 2017, 6:21 AM
Len Bastiaens
I want print just the odd lines from text how can I do that? I wrote this code but it print just the first line f=open('12.txt',r) n=0 while True: if n<=6: n=n+1 if n%2==1: lines=f.readlines ( )[n] print lines else: break
python
0 Votes
8 Answers
15th Aug 2016, 10:43 PM
sola
Why this <div> is in same line as <p> tag (i tought that p and div are block lvl elements ) please help me fix my code
<div>
1 Vote
2 Answers
20th Feb 2018, 11:41 PM
Ilija Pavlovic
how can I put the link in right or left of the page ? with out use <p align="right or left ><\p> because it makes other line and I did not want that ?!
html
links
2 Votes
4 Answers
24th Jun 2016, 5:17 AM
FADUMA ADAM
Help needed on readline() in Python 3.0
file
line
python
python3
read
readline
readlines
0 Votes
1 Answer
28th Dec 2016, 8:32 AM
Ethan ZHOU
Reading lines in a file using for loop
files
for
line
loop
python
readline
0 Votes
1 Answer
27th Jul 2017, 2:05 PM
Mohit Jangra
Please help decribe the below code where solve(grade) is int array
3rd
able
line
not
to
understand
0 Votes
1 Answer
1st Mar 2018, 1:08 PM
Bahubali
Pls can somebody explain why you would put a multi-line comment between /* and */ on the same line according to the lesson from
c++
comments
0 Votes
2 Answers
30th Nov 2016, 2:12 PM
Adepoju Oluwafemi Abiodun
Can anybody help me to figure out the error on the coding? It says the session had been already started on line 2.
coding
php
system
1 Vote
1 Answer
31st Dec 2017, 5:31 AM
Vasanth Kumar
If integer a is declared in main method and line below it is (int z=test(out a)) so what is the value of x?
c#
-1 Vote
2 Answers
16th Jan 2017, 12:15 PM
Aniket Patil
what is alternative ways to replace , the function function_construct()
7
about
error
function_constructor()
in
line
saying
0 Votes
2 Answers
22nd Jul 2020, 11:59 AM
Nar Bdr Kharka
I some help with a CMD command prompt that I can do from the line to reset my laptop back to factory default settings erasing al
comments
-1 Vote
2 Answers
1st May 2020, 4:59 PM
DILLIGAF . Nope
I want the nav bar which is presently below the company logo to be on the upper part of the page on same line with the logo
<header>
0 Votes
2 Answers
18th Mar 2019, 6:43 PM
Moshood Aderibigbe
In while loop for iteration the result is printed in new line why? And how to print all the iteration answer in same line?
loops
python
0 Votes
2 Answers
6th Feb 2017, 4:20 PM
Mathi Mathan
I am making a game. But I am facing a problem :- Why my code is not showing "GAME OVER !" (At line :‐ 56). PLESE ! HELP 🥺🥺....
web
0 Votes
1 Answer
14th Jun 2021, 12:05 PM
Aditya Dhiman
How do we print things in a same line or in a matrix form in python, the same thing which we do using print() method in java?
bla
1 Vote
2 Answers
16th Feb 2018, 12:46 PM
Sachindra mishra
A line of English text will be given, where words are separated by one of the following symbols: ' ', '\t', '.', ',' and ';'
program
0 Votes
2 Answers
1st Sep 2017, 6:15 PM
Pavan Kumar Reddy
Anyone please explain me this question in brief - Fill in the blanks so that the first line of the paragraph uses the ne
css
css3
0 Votes
1 Answer
19th Sep 2016, 1:44 PM
Vibhanshu Tyagi
I am just starting js and I tried to say hello world, but I get an alert saying line 1 and then < help please
javascript
0 Votes
2 Answers
11th Nov 2016, 1:42 AM
Justin Jackson
Two integers on first line in each file with specify number of rows and columns in each matrix, and the elements on next line?
file
input
matrix
matrix-product
python
read
-3 Votes
1 Answer
6th Sep 2021, 1:38 PM
Amusat Gafar Akinade
When a for loop runs the second time does the loop return to the for statement or to one line above the for statement?
for
iterations
loop
0 Votes
1 Answer
20th Jun 2018, 5:59 PM
LottoMan
Now when we put a break in a line using a <br /> tag, is it necessary to write it as <br /> ? Because only <br> works too
formatting
html
0 Votes
3 Answers
14th Mar 2017, 3:44 PM
Akshit Alva
Whn writing ths code in the python console on my laptop I hv 2 indent the line n ordr 4 the code 2 run properly. Is this normal?
if-statements
python
1 Vote
2 Answers
20th Nov 2016, 8:57 PM
Wayne Porter
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
42
43
44
Next >
Hot today
What's wrong with this code ? ( Beginner)
4 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Please rate my code from 1 to 10
2 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, I’m getting into socket programming with C++
0 Votes
why do people say programming is hard
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
I’m new someone can help me
0 Votes