Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Var x = 100; while(x>=50){ x-- } x % 7 document.write(x):
javascript
0 Votes
6 Answers
5th May 2020, 4:54 PM
Shola Micheal
What does “myArr[0][2] = 42;” here mean?
array
1 Vote
1 Answer
2nd Jan 2018, 6:28 AM
Dcm
How to write code in python sandbox? 2 + 2 = error
python
2 Votes
5 Answers
6th Oct 2019, 7:34 AM
Andre Cobolev
Why is: public class MyClass { public static void main(String[] args ) { int x = 5; x &= 3; System.out.println(x); } } = 1??
java
0 Votes
3 Answers
21st Oct 2019, 11:33 AM
Jibrilla Abdul-Razak
What is the output of this = 2**2**2**2 in python?
python3
-2 Votes
3 Answers
18th Nov 2019, 5:11 AM
Pratyaksh Mishra
int a = 14;int b = 23; if (a&& b) cout << a; else cout << b; can some body tell my what will be the output and explain pl
c++
sololearn
1 Vote
15 Answers
27th Jan 2017, 2:49 PM
Sultan
public class comparestrings{ public static void main (String[] args) { String style = "Bold"; String style2 = "B
5
-1 Vote
1 Answer
5th Jun 2021, 2:39 PM
عباس جلاوي
What's wrong with this EOF error user_input = str(input(":"))
python
0 Votes
4 Answers
4th Jun 2017, 2:41 PM
Dan Urey
I need a clarification about mechanise.browser().addheaders = [('user-agent','Firefox']
browser
mechanise
python
python2
1 Vote
1 Answer
25th May 2018, 8:30 AM
Pauly😊💖
import calendar def printcalendar(2020); print(calendar.calendar(year)) year = int (input('2020')) printcalendar(2020)
;
0 Votes
2 Answers
8th Aug 2020, 6:48 AM
Jaywardhan
Can I type -- switch ( int age = 36)?
switch
1 Vote
3 Answers
17th Jun 2019, 7:03 PM
Faisal Alghamdi
even = [2*i for i in range(10**100)]
lists
python
1 Vote
1 Answer
19th Mar 2017, 8:40 PM
Pramod Nagar
Чего код не работает поисковач система
=
input()i=0print(search(text,
input()word
searc
text=
word))def
0 Votes
1 Answer
13th Apr 2021, 12:52 PM
Денис Кордюков
file = open("/usercode/files/books.txt", "r") #your code goes here file.close()
files
1 Vote
5 Answers
2nd Jan 2022, 2:11 PM
Abiye Iniabere
What is the difference between = and ==
booleans
python
1 Vote
2 Answers
3rd May 2017, 2:15 AM
Ousmane Bah
data= { 'red' :1, 'blue' :2, 'green' :3} def makedict(** kwargs): return kwarge data = makedict( red = 1; blue =2; green =3;)
python
0 Votes
3 Answers
5th Aug 2020, 5:07 PM
Starcodelab
Explanation: It will take 150/40 = 3.75 hours to cover the distance, which is equivalent to 3.75*60 = 225 minutes. How to solv
javascript
0 Votes
3 Answers
2nd Sep 2022, 11:52 PM
Olanrewaju Rasheed
How you can make that a variable = a DOM?
ajax
dom
javascript
php
variable
2 Votes
4 Answers
7th Jan 2017, 1:35 AM
Claas Leo
How to make label for <a href = "#"></a> element.
html5
1 Vote
3 Answers
16th Nov 2022, 7:24 AM
Yacquub
tuples = [(), ('ram','15','8'), (), ('laxman', 'sita'), ('krishna', '45'), ('',''),()] remove empty tuple without filer()
tuples
0 Votes
12 Answers
24th Aug 2020, 1:01 PM
Mounika
What is the output of this code? num = [1, 2, 3, 4] x = 1 for i in range(0, len(num)): x *= i print(x) by #RahulVerma
python
0 Votes
4 Answers
30th Dec 2022, 9:13 PM
Bilge Tandogan
wat do you write on name = pass />
html
1 Vote
3 Answers
21st Mar 2017, 12:38 PM
fanwell sibanda
var arr = document. getElementsByTagName(" img "); for(var x=0; x<arr. ; x++) { arr[x]. = "demo.jpg"; }
dom
javascript
-6 Votes
1 Answer
24th Oct 2017, 7:28 AM
vignesh rajasekaran
Can't locate my home.html in spring boot (Unexpected Error (type = Not found , status = 404))
css
html
java
spring
0 Votes
1 Answer
19th Dec 2019, 11:36 AM
SingleName
What's the output of this code? Var arr = new array (4,6,8); document. Write (arr [1]);?
javascript
2 Votes
9 Answers
5th Dec 2016, 10:41 PM
Joyx Kish
int a = 11; int b = 12; int c = 40; if (a > 100 || b > 3) { System.out.println(a); } else { System.out.println(c); }
java
loops
operators
0 Votes
1 Answer
23rd Feb 2017, 12:26 PM
Mohammad Ramadany
Hello I have a little problem why is the value of x 2 after this code Int x = 4; Int y = 9; x =(y%x !=0) ? y/x : y;
c#
1 Vote
8 Answers
19th Aug 2016, 4:52 PM
mathias
def add(x, y): return x + y def do_twice(func, x, y): return func(func(x, y), func(x, y)) a = 5 b = 10 print(do_
funcionea
1 Vote
2 Answers
23rd Apr 2019, 6:42 PM
Wander Anime
How to split by +, -*, = characters in java?
java
regex
split
1 Vote
2 Answers
29th Sep 2020, 2:44 PM
Azizbek Rasulmetov
Angle mode = "radians" ; ------>. This code of which language???
important
language
what-is
1 Vote
3 Answers
12th Jul 2020, 8:06 AM
Shikhar Dwivedi
if we use 'num++' instead of 'num = num+1' what hppened
c++
loops
0 Votes
7 Answers
9th Jul 2016, 10:43 AM
Avinash
If unsigned int x = 168 and unsigned int y =60; If z = x & y; What's z?
=
=60;
168;
if
x
y
z
0 Votes
1 Answer
2nd Nov 2022, 6:04 AM
John Nwaigbo
int[ ][ ] myArr = { {1, 2, 3}, {4}, {5, 6, 7} }; myArr[0][2] = 42; can't get this declaration?
arrays
0 Votes
2 Answers
25th Sep 2018, 2:58 PM
yoga
class Add { constructor(...words) { this.words = words; } //your code goes here } var x = new Add("hehe", "h
javascript
node.js
-2 Votes
2 Answers
7th Dec 2021, 2:14 AM
Anish Kumar Pankaj
int c = 8 << 2; printf("%d",c); what will be the output?
c
1 Vote
4 Answers
18th Sep 2020, 1:46 AM
Ambika Kewat
How many times would the following loop execute? Char a = 'a' While (a>'a' && a<='z') a++;
loops
1 Vote
11 Answers
28th Mar 2023, 4:30 PM
Subhasmita Dash
<?php $name = “Paul”; echo(“hello ” . $name); ?>
php
0 Votes
2 Answers
30th Sep 2022, 7:04 PM
Mathieu
fun main(args: Array<String>) { var total = 200 printIn(total % 7) }
kotlin
0 Votes
3 Answers
17th Jan 2023, 8:49 AM
Anmol.
Hello, how do I link to <input type = "text" /> and <input type = "button" /> to javascript and get the results
<input>
0 Votes
5 Answers
21st Oct 2017, 6:22 AM
Luis Alberto
Don't Work if i replace < with =
loops
2 Votes
1 Answer
7th Feb 2018, 6:39 AM
Uwe Brin
Why doesn’t var x = input.value work sometimes?
html
input
input.value
not_working
web
why
0 Votes
1 Answer
19th Dec 2019, 3:02 AM
Ginfio
Why does the countdown start on 3 when the print says i = i - 1 if i = 3?
loops
python
0 Votes
3 Answers
21st Jul 2016, 9:47 AM
Daniel
x = {5:6, 7:7, 8:9, 7:11} print(x.get(10, 9)%x.get(1, 5))
phython
0 Votes
1 Answer
2nd Jan 2023, 3:35 PM
Lidwina Harefa
So I tried a = "a" while a <= "e": print(a) a = "a" + "1" print("Finished") and it said time limit exceeded
loops
python
0 Votes
5 Answers
7th Sep 2016, 10:49 PM
Tendai25
var arr = [-1,0,1,2,3,4,5,6,7,8]; console.log(arr.indexOf(9)); //why is -1 the output
arrays
javascript
js
1 Vote
2 Answers
23rd Nov 2019, 6:15 PM
HERBERT MUHIIRWA
What's wrong with " if button = 0: " ?
python
python3
0 Votes
5 Answers
14th Sep 2017, 3:56 PM
Sqad0ra
Why does line produce an error? Warning\Error File "file.py", line 13 num1 = float(input("Enter a number:"))
help
0 Votes
10 Answers
11th Apr 2017, 12:52 AM
Shedrick Williams
Input_num = [1,2,3,4,5,6,7,8,9,10]. Print(input_num[0:5] + input_num[:4:-1]) #output [1,2,3,4,5,10,9,8,7,6]
python
python3
-2 Votes
1 Answer
6th Jun 2021, 2:03 PM
Santhosh kumar
why it's showing cannot set textContent = null
error
javascript
textcontent
0 Votes
2 Answers
18th Jan 2018, 3:31 PM
ANSHIF BABU AS
Isnt 15/4 = 3.75? But why is this answer 3
operators
0 Votes
3 Answers
3rd Feb 2019, 12:28 AM
Sum Ting Wong
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
16
17
18
...
38
Next >
Hot today
PHP Tutorial Idea
1 Votes
Use Python for string manipulation and sorting.
1 Votes
Gimme some advice
0 Votes
Doubt in C
1 Votes
How to open the test cases on sololearn I tried so many times with the correct code
0 Votes
Php?
0 Votes
can anybody tell me a trick to earn followers
0 Votes
how to create my own html page
0 Votes
Modal dialog to modeless dialog
0 Votes
Contribution to my portfolio project "Mata Tech Solutions".
1 Votes