Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
I want to print number of positive , negative , even ,odd number stored in array by user but I am not getting desired output
cpp
0 Votes
2 Answers
22nd Apr 2021, 6:27 AM
Harsh Pratap Singh
fill in the blanks to create a loop that increment the value of x by 2 and print the even values. x=0 _x<=20: print(x) x+=2 pls help me out
loops
python
-1 Vote
5 Answers
2nd Sep 2016, 6:12 PM
anthony
Why it prints 3 times instead of 4? I thought it will print 5, 4, 3, 2 so it's 4 times, right? Can someone explain it to me? Thanks
loops
python
1 Vote
4 Answers
11th Aug 2016, 10:27 PM
Faizal Khilmi Muzakki
Very Simple Python Problem - Help?
\n
beginner
help
newline
output
print
problem
python
string
3 Votes
2 Answers
31st Oct 2021, 5:49 PM
Ryan Grant
How to make a python code that will ask user the number of printing word "eggs"and then print the word "eggs" as much times?
python
0 Votes
3 Answers
16th Dec 2016, 3:23 AM
Timo
question is about c++...write a program in c++ to implement addition and division operator for the ratio class hence print the given two ratios x and y their sum (x+y) and their division (x/y)
c++
0 Votes
6 Answers
3rd Oct 2016, 4:21 PM
mayuri
Suppose you draw three dices(using integers 1 to 6). Print all possible cases that the sum of them is equal to 10.
loop
0 Votes
1 Answer
17th Oct 2019, 7:01 AM
Okhunjon Mamajonov
Write a program to print "Python is awesome!". Don’t forget to put an exclamation mark at the end of the quote.
python
-7 Votes
3 Answers
13th May 2021, 1:48 PM
Chaitanya
If I want to print a value of counter I but all in the same line, how can I do it?
python
0 Votes
2 Answers
10th Sep 2017, 10:56 PM
Abdelrahman Hamoda
Use for loop to print a triangle like the one below. Use negative numbers for the values of the loop not the character?using C#?
dd
0 Votes
2 Answers
7th Jan 2021, 1:15 PM
Jumong
why in the description of type convertion there is no print command but in the "try it yourself " part?
python
type-conversion
0 Votes
1 Answer
30th Aug 2016, 2:55 PM
M. Shahriar Rezoan
I take a string "Debasis Mondal" and i want to print only DM. In what way i can do it?
php
0 Votes
1 Answer
10th Jan 2019, 9:28 AM
Debasis Mondal
print the real-time location of mouse pointr(x,y), while moving mouse over console beside the cursor if I'm using TURBO C++...!?
algorithm
c
c++
code
java
logic
sololearn
0 Votes
1 Answer
9th Feb 2018, 4:42 AM
AnonySharma
How to write the code about store the account number to array and when need to print certain account's information?
help
0 Votes
1 Answer
15th Jul 2018, 7:14 AM
Ben Khor
write a program which take input as marks of 5 students with roll number and print highest marks with agregate
c++
-2 Votes
2 Answers
3rd Dec 2017, 8:04 PM
sahil
Write a program to read 2 value x, y and print the quotient and remainder value separately of division (x/y)
java
0 Votes
1 Answer
22nd Oct 2017, 3:54 AM
Sunil Kumar Gupta
Please does any one have a code that can recognize the blue print of my handwriting (the notes that I have written) and convert.
<java>
-2 Votes
3 Answers
9th Sep 2019, 2:27 PM
Salami Umar
Why can I only run template function once?
c
c++
default-value
function-arguments
functions
print
t
templates
1 Vote
3 Answers
29th Jun 2020, 9:21 PM
Clueless Coder
I need to find sum of series 1/2+1/4+1/8+.. n= int(raw_input("enter the limit") s=0 i=2 while(i<=n): x=float(1\i) s=s+x i=i+2 print s is this the correct program??
boolean-logic
python
1 Vote
2 Answers
5th Nov 2016, 2:32 PM
Navaneetha Babu
In python3 cant we use if statement as - x= int(input (' 2+2') if x = 4 print ('correct') and if we can then how?
python3
0 Votes
3 Answers
11th Dec 2017, 3:41 PM
Arjun Mahanty
Creating a whitespace in between my session variable output in PHP. I will do two posts with my code snippets for both examples
output
print
session
space
variables
white
with
0 Votes
5 Answers
7th Feb 2018, 7:46 PM
Making A Change
Why isn't working properly??
function-arguments
functions
loops
print
python
sleep
threads
time
while
0 Votes
2 Answers
22nd Jan 2022, 5:31 PM
Ravi King
How do i draw shapes in python?
colors
figures
print
shapes
triangle
1 Vote
1 Answer
9th Oct 2017, 9:38 AM
Mblast St
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
Why do one have to use variables since you can tell the program to print what you stored in the variable?
php
0 Votes
2 Answers
17th Aug 2017, 5:05 PM
Ice
How to Print the Elements of any list or any loop in same row instead of printing it in different row?
lists
python
0 Votes
2 Answers
17th Jan 2017, 2:51 PM
Gaurav
I know it may sound foolish but can anyone explain in detail why both the print functions are giving different output?
python
variables
0 Votes
2 Answers
4th Mar 2017, 3:46 AM
Nishchay
I need help with my code, What is wrong with it? It is supposed to print the maze every time the function is called.
c++
2 Votes
1 Answer
29th Sep 2016, 4:08 AM
Raul
Write a program in which you declare variable of all data types supported by C language. Get input from user and print the val
data-types
0 Votes
2 Answers
24th Dec 2021, 11:07 AM
Rakesh Kumar Sahu
Hello friends can you guys tell me what’s wrong with my code in both side it will print this is prime number thank u
number
prime
0 Votes
1 Answer
20th May 2019, 6:10 AM
Sam
Which programme is more useful to making any software?
c++
challenges
ethical
html
print
python
xhtml
1 Vote
4 Answers
13th Nov 2017, 8:05 AM
Rohit Kumar
What is the Output of this Code?
class
code
java
output
print
system
0 Votes
1 Answer
31st May 2019, 7:00 PM
Leif Behrens
Is it possible to have a list of lists ? Example: x = [[a], [a,b], [a,b,c]]
arrays
code
lists
print
python
sololearn
0 Votes
1 Answer
11th May 2022, 4:40 AM
SilentHealer584
How to write java program to accept rupees less than 10 crores from the user and to print equivalent rupees in word. For Ex. Rs
code
constructors
java
progress
0 Votes
2 Answers
8th Dec 2021, 4:38 PM
Vrushabh
Plz help me ..i have no idea for this one ,how can we remove repeated digit present in list and print only the remaining digit?
python3
0 Votes
3 Answers
3rd Mar 2018, 4:19 PM
Kiran Rayamajhi
Weird r error that I have
error
everyone
having
help
i'm
input
me
print
r
trouble
0 Votes
5 Answers
19th Mar 2023, 7:39 AM
RayZ
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 if you write: x = 12 \n x = x + 'string' \n print (x) ; is the output then "12string"?
python
variables
0 Votes
2 Answers
25th Aug 2017, 3:00 PM
Leon Orou
Issue with my for loop to print the result of a formula. Why is the formula is for loop not printing please?
javascript
0 Votes
2 Answers
20th Apr 2017, 6:26 PM
AceDev
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
How to accept numbers frm users using arrays and printing the 4th power of the number and store it in another array and print it
arrays
0 Votes
3 Answers
22nd Nov 2016, 8:04 PM
Piyush Bisht
as I do a method that receives an int parameter, and I print it in the form of a pyramid like this 1,21 321 4321
challenges
java
methods
numbers
pyramid
0 Votes
3 Answers
3rd Nov 2017, 8:41 PM
Anthony
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
Does anyone know how I can change this code for it to also print the average of the numbers that are being inputted by the user?
loops
python3
while
whileloops
0 Votes
2 Answers
23rd Dec 2019, 4:26 PM
Esteban Rueda
Please i need to use something like this 5>x>2 so i would be able to print x something like that in the code below please HELP!!
answer
c
c#
c++
coding
if-statements
neededplease
programming
python
python3
0 Votes
1 Answer
20th Jun 2019, 8:22 AM
Haramide Damilola DATABEAM
Why we not use "" at the end of program to print enything means in this program they use cout << a .. they dont use"" so why...?
variables
0 Votes
2 Answers
27th Sep 2018, 9:52 PM
Kusum Paliwal
https://www.sololearn.com/learn/Python/2270/
basics
colors
hello
output
print
python
python3
sololearn
2 Votes
3 Answers
6th Aug 2018, 1:02 AM
Kalyan
Why is a boolean of False produced rather than true?
boolean
input
list
lists
print
python
variable
1 Vote
4 Answers
15th Nov 2016, 2:18 PM
Dave Matthew
Pointers
arrays
lists
pointers
print
variables
0 Votes
1 Answer
4th Oct 2018, 2:46 PM
Just_a_boy
treying to figure out my flaw in my basic chat algorythm. cant figure out how to get it to only print one.please help!
codeplayground
help
python
0 Votes
1 Answer
4th Apr 2023, 6:33 PM
Kahlyn Student 29
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
87
88
89
...
92
Next >
Hot today
I am beginner,This is will be right code?
1 Votes
Why is it so hard to get a job as a junior dev? Or just wanting to do an internship.
1 Votes
Kernel in Jupyter
2 Votes
How many days will It takes to completely learn front end
4 Votes
Solved# Survey data format in coding for data
1 Votes
SQL
2 Votes
Solution to solving this bugged problem
2 Votes
JAVA PROGRAMMING
1 Votes
What Does Pseudo Elements Mean.
2 Votes
IMAGE
0 Votes