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
How can I print this series 1 -2 3 -4 5 -6...N
c
c++
2 Votes
19 Answers
23rd Apr 2023, 11:06 AM
Hetal Chavda
I need a C program to print the digit immediately after the last even digit of a number. e.g input 23613 output 1.
c
cprogram
help
need
2 Votes
8 Answers
22nd Apr 2023, 3:02 PM
Debjit Dey Sarkar
in a method PrintName , if i want to print name if i use " cout<<name;" it works , but not if i use " return name". Why?
c++
0 Votes
2 Answers
15th Apr 2023, 1:58 PM
juan
x=[] for y in range(5): if y[b] % [/b]2==0: x.append(y) continue print (x)
python3
1 Vote
4 Answers
15th Apr 2023, 8:06 AM
Somvir Dhaka
def multi(): return [lambda x:i*x for i in range(4)] print ([m(2) for m in multi()])
python3
0 Votes
3 Answers
14th Apr 2023, 3:19 PM
Somvir Dhaka
Что делает команда print в pithon
print
1 Vote
3 Answers
13th Apr 2023, 7:38 AM
е к
class Myclass : def __init__(self,val): self .__n=val obj=Myclass(0) obj.__n=1 print (obj._Myclass__n )
python3
1 Vote
6 Answers
13th Apr 2023, 4:23 AM
Somvir Dhaka
how print this pattern 2 24 246 2468 246810
help
0 Votes
4 Answers
11th Apr 2023, 6:19 PM
rahman Ansil
def extend(num, list=[]): list.append(num) return list x=extend(1) y=extend(2) print (x,y)
python3
0 Votes
5 Answers
11th Apr 2023, 11:21 AM
Somvir Dhaka
How to print this sequence using python loops
for
loop
python
0 Votes
1 Answer
10th Apr 2023, 6:00 AM
Ayush Pandit
Print name and age with new line
python3
0 Votes
20 Answers
6th Apr 2023, 10:24 AM
Thile Dorje Lama
How to print only if number is in number
python3
0 Votes
4 Answers
5th Apr 2023, 6:04 AM
Thile Dorje Lama
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
X=5; Y=++X; Print X; Print Y;
code
1 Vote
20 Answers
29th Mar 2023, 10:14 AM
Sanjay S
If ( 1&&0 %10>=0) print f ('two') else print f ('two') else print f ("three " )
c
code
0 Votes
6 Answers
29th Mar 2023, 5:37 AM
Subhasmita Dash
Write a program in C++ to print given pattern: **** ### ** #
and
astric
hastag
pattern
1 Vote
3 Answers
27th Mar 2023, 6:23 PM
Simran Samantra
HOW TO PRINT MIDDLE OF INDEX IN LIST
python
0 Votes
4 Answers
21st Mar 2023, 10:26 AM
NET MASTER
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
Li= [1, 5, 14, 28, 12] print (Li.pop (2)+Li.pop (3))
concatenation
lists
pop
python
0 Votes
1 Answer
18th Mar 2023, 5:51 PM
Snehal Subudhi
Can someone please help with the print method
javascript
0 Votes
4 Answers
15th Mar 2023, 1:45 PM
Arosanyin Daniel
Go through the string below and if the length of a word is even print "even!" string = 'I know how to print every word in this
helpme
0 Votes
1 Answer
11th Mar 2023, 6:04 AM
jaydeep kadbhane
String inputs- list- dict? or classes? Multiply attributes (int) by amount of each type - print totals of attributes
python3
0 Votes
16 Answers
10th Mar 2023, 12:34 PM
Travis Beard
Why does this program not print all the numbers?
cpp
printnum
3 Votes
18 Answers
26th Feb 2023, 12:32 AM
Maryam Prhn🇮🇷
Помогите пожалуйста как на питоне написать квадрат что бы он был красного цвета
print
0 Votes
1 Answer
22nd Feb 2023, 6:42 AM
Валера
I'm stuck on a question this is python beginner course
print
0 Votes
1 Answer
21st Feb 2023, 11:21 PM
LANEY!! ☆
How do I get this code to print the following
swift
0 Votes
2 Answers
21st Feb 2023, 8:44 PM
Emmanuel Pena
Please I need help to write a program to print "c++ is cool"; by using cout and insertion operator<< to output text
c++
0 Votes
5 Answers
21st Feb 2023, 12:33 PM
Debrah Samuel
How to print :1;11;111;1111;11111
4444
0 Votes
4 Answers
21st Feb 2023, 6:38 AM
Khan Studies
How could it be possible to print ($...$)? If you want to explain.. then please help Sololearners friends!
$signmethod
backtick
es6
javascript
0 Votes
5 Answers
20th Feb 2023, 5:35 AM
Sony
How to Print 2 Formatted Variable ?
format
python
2 Votes
2 Answers
14th Feb 2023, 3:58 AM
Muhd Khairul Amirin
total = 0 #your code goes here i=0 while i<5: age =int(input()) if age < 3: continue total+= 100 print (total )
code
python
python3
while
4 Votes
8 Answers
12th Feb 2023, 9:27 AM
Nuri
Why print (2 > 4 == 4) False in python. Please kindly explain me.
python
1 Vote
6 Answers
11th Feb 2023, 6:59 PM
TAEK
1. Write a program that asks the user for their name and how many times to print it. The program should print out the user’s nam
range
0 Votes
8 Answers
8th Feb 2023, 12:14 PM
Erika Abalora
Given three integer matrices A(m*n),B(m*n) and C(m*n) . Print the one with more zero elements. beside code
array
c++
matrix
0 Votes
12 Answers
7th Feb 2023, 12:41 PM
Никита Л
Given three integer matrices A(m*n),B(m*n) and C(m*n) . Print the one with more zero elements.
arrays
c++
matrix
0 Votes
6 Answers
7th Feb 2023, 11:49 AM
Никита Л
a program to input n numbers from user and store them in a tuple. Print all the numbers from the tuple which is divisible by 5
python
sololearn
1 Vote
5 Answers
4th Feb 2023, 8:59 AM
Ayush
Question is write a c program to print prime numbers up to n and print the largest number in array.
arrays
c
prime
question
1 Vote
8 Answers
3rd Feb 2023, 6:14 PM
Anish Raj
why in this code the else output will print amd output is like that?
python3
1 Vote
14 Answers
1st Feb 2023, 4:28 PM
Nariman Tajari
Problem Statement Given two integers a and b, your task is to calculate and print the following four values:
javascript
0 Votes
11 Answers
1st Feb 2023, 10:40 AM
Altaf Khan
Why is python stdout able to visually render html when theres a .png file created alongside?
html
print
python
stdout
2 Votes
3 Answers
1st Feb 2023, 7:59 AM
Nyakotey🇬🇭🎹
Why does this print “ab” and not “b” only?
java
0 Votes
5 Answers
31st Jan 2023, 1:51 PM
HoaiNam
#javascript challenge ---- Write a function to print square matrix
array
coding
javascript
matrix
question
1 Vote
6 Answers
31st Jan 2023, 12:01 AM
AMAN
How can I print the default statement using multi-dimensional arrays?
multi-dimensionalarray
switchstatement
userinput
1 Vote
2 Answers
25th Jan 2023, 10:49 PM
Micah Thomas
Help me figure the error in this code to print out the total
javascript
0 Votes
5 Answers
22nd Jan 2023, 11:19 AM
Mukaila Aremu
Just want to print the total fare and passenger once at last
java
0 Votes
1 Answer
22nd Jan 2023, 5:03 AM
Jay Ravidas
X=5 X%=9 X+=4 print (X)
python
0 Votes
1 Answer
19th Jan 2023, 5:52 AM
Mizta Ben
Anyone got a clue why I can't print the name, still new to coding.
classes
print
0 Votes
2 Answers
18th Jan 2023, 12:13 PM
Johnrick Daeben Docabo
For num in range (0,10,-2): print (num,end=' ') .why no output for this one and for this one also for num in range (10,0,2)
cpython
python
0 Votes
1 Answer
18th Jan 2023, 9:30 AM
janvi vashistha
How can I print compund Intrest and amount by for loop
java
1 Vote
1 Answer
15th Jan 2023, 8:57 AM
Vishesh Kumar
How a print as output 2 and b 6, c 8 and d 4? Would please help me to solve it?
array
destructing
es6
javascript
2 Votes
3 Answers
15th Jan 2023, 8:28 AM
Sony
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
3
...
92
Next >
Hot today
I just I just resolved the dictionary problem , the program doesn’t allow me to access to the next lesson
0 Votes
Why sololearn did not allow us to...
0 Votes
[SOLVED] Ballpark Challenge
1 Votes
How to use ‘variables’ in a ‘python’ string
1 Votes
How to get Kotlin certificate here
2 Votes
Array of Object to Object using reduce()
0 Votes
Who will
0 Votes
HELP. UNFAIR STREAK LOSS
2 Votes
There is an error.
0 Votes
Draw a checkerpiece over a table cell within the first three rows
0 Votes