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
1.Number=int(input("enter number")) 2.sum=0 3.for I in range(1, number+1) 4.sum=sum+1 5.print(sum)
python
strings
0 Votes
3 Answers
9th Apr 2022, 10:05 AM
Javed Iqbal
n = int(input()) for x in range(1, n): if x % 3 == 0 and x % 5 == 0: print("SoloLearn") elif x % 3 == 0:
@python
-1 Vote
14 Answers
3rd Jun 2021, 12:14 PM
Gold samuel
Please is to be added or removed from this code n = int(input()) for x in range(1, n): if x % 3 == 0 and x % 5 == 0:
@python
0 Votes
10 Answers
4th Jan 2023, 1:04 AM
Ohanenye Kennedy
n = int(input()) for x in range(1, n): if x % 3 == 0 and x % 5 == 0: print("SoloLearn") elif x % 3 == 0:
a
-1 Vote
2 Answers
5th Dec 2020, 7:44 AM
Augustine Ansah Owusu
Can you help me in this code?
%
==
0
3
and
for
if
in
int(input())
n):
n=
range(1,
x
x
x
-4 Votes
9 Answers
17th Jun 2021, 6:44 PM
zoro
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Hello, please help me understand how to solve
1 Votes
post your python code here)
2 Votes
I want these three dots to jump inside that box..please help
1 Votes
Is Java getting left behind? Do questions get upvotes?
1 Votes
Why are the outputs appeared different?
1 Votes
Help with homework
0 Votes
Anybody that can help me fix my pc - long story short I'm dumb and deleted necessary system software files
1 Votes
please help me emotionally
1 Votes
Logical operator
1 Votes
Time
1 Votes