New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
static in java, can you explain with example, please?
java
static
6 Votes
3 Answers
12th Jul 2017, 10:00 PM
Assylbek
The code incorrectly calculates the sum of the digits of the number. For example, if you enter 157, then the output will be LOCK
python
0 Votes
6 Answers
17th Apr 2021, 10:03 AM
Paula Voqy
Can somebody explain about "alt" in example, please ?
images
1 Vote
2 Answers
2nd May 2018, 3:03 PM
Anakbaru
I do not understand this example, any help ?
recursion
ruby
0 Votes
3 Answers
17th Dec 2018, 2:57 PM
Omar Khaled
Why the answer is 4? Could somebody explain this example, please?
array
js
1 Vote
3 Answers
27th Jan 2020, 9:44 PM
Nata Martí
Is polymorphism possible without inheritance ?? Explain it with example, please.
inheritance
java
polymorphism
0 Votes
4 Answers
18th Jul 2016, 11:44 AM
AnsHuman Aaditya
Can you explane me what is the object oriented by example, please?
ObjectOriented
6 Votes
4 Answers
29th May 2017, 8:01 PM
Omid Abbaspour
How to go to the website (for example, google.com) in C++?
c++
google
1 Vote
3 Answers
11th Mar 2018, 8:21 PM
Expert
Which codes or programming languages did they use in making codes example, C++
c++
language
programming
their-source
1 Vote
2 Answers
24th Apr 2019, 1:53 PM
Joel Caleb Nkrumah
How would I use for example, an audio file in html5?
html
html5
self-learning
sololearn
0 Votes
1 Answer
20th Jan 2017, 6:57 PM
Brady Cook
Private attributes can't be inherited. Explain with an example, a remedy for this problem
sololern
2 Votes
1 Answer
15th May 2019, 2:33 PM
Sally(Codder)
I do not understand why the following example, as a result shows six in C Challenge?
<stdio.h
>
4 Votes
3 Answers
25th Mar 2022, 7:42 AM
Egor Tonchev(EGO)
Is there any way to make , for example, 10 into [1,0]?
question
ruby
0 Votes
2 Answers
6th Nov 2017, 11:44 PM
Purpou2
Do big companies (google, Microsoft, amazon) hire “specialized” programmers? Fro example, a specialized android developer?
amazon
android
application
development
google
hire
java
microsoft
programming
specialization
1 Vote
3 Answers
27th Mar 2018, 12:25 AM
Connor Q. Hudson
Which level teaches us how to make different programs? For example, pdf to word doc converter
input
output
python
3 Votes
6 Answers
30th Mar 2017, 4:13 PM
Piyush
How do you set the length of a list (defined, for example, as "array") in Python?
a
in
length
list
of
python
set
the
0 Votes
5 Answers
22nd Feb 2019, 8:39 PM
ShadowDashNinja [GD]
Hi, everyone. Tell me, how to do .length not count spaces. Example, I want to write "1 2 3" that length was 3, not 5
javascript
0 Votes
4 Answers
17th Apr 2021, 6:17 PM
Тимур Завьялов
Why not working degrees. Why if, for example, 5 ^ 2 output is an error, not 5^2 = 25
error
5 Votes
4 Answers
21st Apr 2019, 3:37 PM
KolaTender
Who can explain the C++ modulo operator logic: why, for example, 3 % 4 is equal to 3?
c++
code
course
explain
logic
mathematics
modulo
operator
sololearn
5 Votes
7 Answers
11th Nov 2017, 6:01 PM
Ozodbek Kuchkarov
Skee ball 1 from 5 tests not passed
c++,
cpp,
decision
example,
tasks,
1 Vote
6 Answers
17th Feb 2020, 7:56 PM
Сергей Румянцев
Help me please. I do not understand how to control passwords on the site. So that, for example, enter a password and when you
control
css
html
html5
javascript
password
russian
site
3 Votes
21 Answers
2nd Nov 2020, 8:44 AM
артур кириенко
How to use if in buttons? For example, If this button pressed document. write("Hello")? (JS)
help
js
question
0 Votes
1 Answer
17th May 2019, 3:57 PM
omar
I am a beginner And i just tried the given example, i wrote something wrong and not getting the output could anyone help me out
body
head
strings
title
1 Vote
26 Answers
15th Sep 2019, 4:32 PM
athira VK
What the function of magic methods ? gimme one example, i confuse with magic methods useful
python3
0 Votes
3 Answers
30th Oct 2016, 9:25 AM
M. Iqbal Maulana
How to use the if statments in buttons? For example, When the button pressed it prints'Hello world!'
if
0 Votes
2 Answers
16th May 2019, 7:08 PM
omar
In the example, if I go: #intro em{...} do I get the same outcome of #intro .first em{...}?
css
selectors
3 Votes
3 Answers
4th Oct 2016, 12:24 AM
Evandro Takeshi
Why (0.1+0.1+01) or any other such returns a different value. For example, the above operation returns 0.30000000000000004
python
python3
0 Votes
2 Answers
21st Sep 2019, 8:56 PM
Vinay Pratap Singh
Python read csv file and use data to For example, to create a folder and so on.
python3
0 Votes
1 Answer
9th Feb 2021, 5:11 PM
Mohammad Nidal Qtaishat
How to make a button in tkinter to do a nice view in the matplotlib canvas? For example, from front view
button
canvas
matplotlib
python
tkinter
7 Votes
2 Answers
4th May 2019, 7:23 PM
Zhenis Otarbay
How to create animations with certain conditions? For example, an animation that runs after clicking a button. Thanks
animation
condition
etc
whatever
1 Vote
3 Answers
31st Jul 2017, 10:43 AM
Muhammad Bintang Firdaus
What are the best ways and background required to start with competitive programming? For example, algorithms, number theory etc
coding
competitive
competitivecoding
competitiveprogramming
programming
1 Vote
3 Answers
26th Dec 2018, 7:15 AM
Aditya Sonthalia
How can i make an array in my class that contains prime numbers for example, using my method isPrime
arrays
c#
classes
loops
1 Vote
1 Answer
17th Jul 2020, 1:22 PM
Ali Emir Altın
[Python] How to add all symbols of string to array (for example, all letters of word or all digits of number as array elements)?
arrays
python
python3
symbols
0 Votes
8 Answers
22nd Jun 2020, 9:14 AM
🇭🇺 Rómányi Téčka 🇭🇺
How to make python programming visual? For example, I can make a calculator using python but I can't make it a visual calculator
python
7 Votes
4 Answers
14th Nov 2017, 4:49 AM
Programmer Jr.
Make a function to convert any number into hours and minutes. (For example, 71 will become “1 hour, 11 minutes; 133 will become
#python
1 Vote
2 Answers
4th Oct 2021, 5:07 PM
Msawenkosi Zuma
In Phyton, how to make a limited choice of the input ? For example, the code can only accept the input 1 or 2 or 5.
choice
how
input
limited
make
of
to
3 Votes
7 Answers
11th Jul 2018, 8:38 PM
Elvin Jack Jain
can i add more attributes into tags such as abbr, acronym and dfn. Example, an attribute such as style
html
0 Votes
3 Answers
13th Jul 2016, 4:37 PM
Denewbie
Is there any particular reason why we separate some statements with commas, but not others? for example, when transforming elements?
css
css3
transform
0 Votes
4 Answers
30th Jun 2016, 2:09 PM
Mike Tucker
Python (check example, please): is it correct to use for not in var? What can be an alternative to achieve same result?
iterator
python
0 Votes
4 Answers
22nd Apr 2020, 2:35 PM
Alex Soroiu
How do we declare a boolean variable?/*If you don't mind, please illustrate it to me with an example, i.e: code*/
variables
0 Votes
2 Answers
20th Aug 2019, 10:43 AM
66:101:110:74:97:109:105:110
Make a function that takes two strings as input, and outputs the common characters or letters that they share. (For example, Inp
#python
0 Votes
3 Answers
4th Oct 2021, 7:56 PM
Msawenkosi Zuma
iterate over matrix, and print its index as (i,j) and corresponding value. For example, Index: (1,1), Value: 50. y = np.array([[
numpy
python
without-loop
1 Vote
1 Answer
3rd Oct 2021, 12:40 PM
Zhenis Otarbay
Imagine if I want to make, for example, a certain text (bold) and (italic) at the same time, how do I do it?
formatting
text
1 Vote
3 Answers
22nd Aug 2019, 8:38 AM
Cristiano Adami
Hello. I want to be able to exit a program whenever i like. For example, when i make a switch() and i press case 1, i want to
c++
return
switch
2 Votes
4 Answers
22nd Aug 2019, 6:53 PM
-DSaus-
Should we use negative value in HTML or CSS? for example, margin-top: -200 px. If we use what will be the problems?
css
html,
negative
page-implement-in-server
psd-to-html
value
0 Votes
2 Answers
11th May 2018, 6:31 AM
Mahmudur Rahman Ashik
can you make it so that when you click on the button its color changes, for example, to red, and when you press it again, it cha
css
html
javascript
1 Vote
10 Answers
30th Aug 2018, 10:06 AM
Learner
How do I get one output at a time in python, for example, in normal arithmetic operations 6 + 3 = 9 and 11 + 22 = 33
calculator
output
python
python3
2 Votes
4 Answers
31st Dec 2020, 3:11 PM
OMARI FATIMA ZAHRA
So am i right in thinking that you dont need to define the boolean values, like the first example, except with == or !=
booleans
0 Votes
5 Answers
31st Jan 2019, 12:53 PM
Jude Ranby
Please I need help, I can't remember the function used to call up a single character from a string. For example, h from "hello"
python3
0 Votes
2 Answers
15th Jan 2022, 4:17 AM
Wilfrid Okorie
So I code python and it doesn't run. It's a code compiler app. For example, I code print("Hello world!") And it says error…
@me
0 Votes
2 Answers
10th Jun 2021, 4:12 PM
Ignitius Attah-Kwoffie
Ask a question
Ask a question
< Previous
1
2
Next >
Hot today
Is there a builtin way to reference a while loop condition without restating it?
1 Votes
Problem
0 Votes
USING HTML ONLY!!!
4 Votes
I do understand a bit of code but can't make anything out of it
1 Votes
Why is the result always 0?
1 Votes
[SOLVED] What problem in this program..?
2 Votes
Can anyone help me to make the border in a perfect shape !!
0 Votes
Can someone please help me with this python code?
2 Votes
I need help with beginner level of python
0 Votes
Someone explain me.
1 Votes