Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
n = int(input())
int(input())
n=
-1 Vote
4 Answers
28th Aug 2022, 7:16 PM
Dawit Getachew Mekonin
Can you put more numbers in a int(input())
help
1 Vote
3 Answers
4th May 2021, 7:37 PM
Dico
X = int(input()) Y = int(input()) Z = int(input()) N = int(input()) ans = [[i, j, k] for i in range(X + 1) for j in range(Y
list
1 Vote
2 Answers
27th Oct 2020, 3:10 PM
Jaya Pratha
How can I use the int(input()) for the else-statements
else-statements
2 Votes
3 Answers
2nd Jan 2021, 4:54 AM
Amanda Martin
Hey please someone tell me how to avoid float input in this code fruit = int(input()) apple=fruit/2 print(apple//3)
python
1 Vote
14 Answers
5th May 2021, 4:24 AM
Vaibhav Tiwari
I have question, why int(input()) why? Like i get question x = int(intput()) y = int(input()) why ?
why
0 Votes
3 Answers
8th May 2021, 11:09 PM
BG Plays
siblings = int(input()) popsicles = int(input()) #your code goes here if popsicles % 2 == 0: print("give away") else:
helpwithsolution
0 Votes
2 Answers
6th Jul 2022, 4:42 AM
shifa
n = int(input()) X = [] for i in range(n): X.append([float(x) for x in input().split()]) y = [int(x) for x in input().
python
3 Votes
3 Answers
15th Apr 2021, 6:40 AM
Priyanka
Why do I get error message when I used int(input())
birthday
code
happy
0 Votes
4 Answers
29th Dec 2022, 5:04 PM
Mintlord
file = open("/usercode/files/pull_ups.txt") n = int(input()) work = file.readlines(n) print(work) #your code goes here
files
2 Votes
14 Answers
1st Jan 2022, 1:15 PM
Abiye Iniabere
weight= int(input()) height=int(input()) BMI=weight/height*height if BMI<18.5: print("Underweight") elif BMI >=18.5 and <25: p
error
0 Votes
10 Answers
26th Feb 2021, 12:07 PM
Downey Dewy
What is int(input()) function and str(input())function ?what is use of them.?
python3
0 Votes
3 Answers
19th Aug 2020, 1:12 AM
#challenger mg
How to Show number of divisors of int(input()) in python !?
math
python
python3
0 Votes
2 Answers
13th Feb 2020, 7:53 AM
Mohammad Tashakkori
fruits = int(input()) apples = fruits /4 while True : print(apples//3) my attempt :(
python
1 Vote
6 Answers
22nd Jul 2020, 4:11 PM
Amit Kumar
How do you solve this, and what's the real explanation of int(input()) it's confusing
numeric-operations
1 Vote
4 Answers
4th Dec 2021, 8:01 PM
Bobby Richard
n = int(input()) length = 0 while n > 0: n //= 10 length += 1 print(length)
python3
0 Votes
4 Answers
17th Oct 2020, 2:46 AM
Rahul Prasad
Why doesn't the age = int(input()) work wheneverI put a value in for age inside input's brackets
input
output
0 Votes
12 Answers
31st Aug 2020, 8:01 AM
Mahin Dagli
What is the output of this code if the user enter '42' as input: age = int(input()) print(age+8)
abcstringsandvariables
module2quiz
python3
-3 Votes
12 Answers
7th Nov 2020, 7:13 AM
Mehar Jaiswal
# take the number as input number = int(input()) while number <= 0: print(number) number = number - 1
python
5 Votes
7 Answers
30th May 2023, 6:45 PM
Arooj Amina
Hi, how to int(input()) but only take the first 10 integers from the input to input-variable?
input
int
numbers
python3
2 Votes
4 Answers
27th Aug 2017, 6:08 PM
Da Riebi
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 solved this= total=0 x=0 while x<5: age = int(input()) if age>3: total +=100 x+=1 print(total)
python
solve
1 Vote
2 Answers
26th Jul 2022, 10:53 AM
Manish Kumar
pin = int(input()) try: print ("PIN code is created") except ValueError : print ("Please enter a number")
exceptions
1 Vote
3 Answers
29th Dec 2021, 11:10 AM
Abiye Iniabere
num = int(input()) def fibonacci(n): if n==1: return 0 elif n==2: return 1 else: return fibonacci (n-1) + fibonacci (
exsercise
fibonacci
python
series
1 Vote
7 Answers
23rd Dec 2020, 1:07 PM
ARNAV SINGH
What mistake I have made in this code for question given below. bill = int(input()) x=float((bill*20)//100) print(x)
@tipcalculator
-1 Vote
3 Answers
17th Jun 2021, 9:06 AM
Piyush Verma
How the fuction take a input? in python is input() or int(input()) but in JavaScript? no is there?
engineer
frond-end
javascript
js
software
0 Votes
4 Answers
30th Aug 2022, 7:19 PM
Josué Varela
What is the output of this code if the user enter '42' as input: age = int(input()) print(age+8)
abcstringsandvariables
modul2quiz
python3
-4 Votes
5 Answers
7th Nov 2020, 7:14 AM
Mehar Jaiswal
# Take the number of available spaces as an input spaces = int(input()) # Display message if spaces are available if spaces <=
hfhdhdud
1 Vote
7 Answers
26th Sep 2023, 5:01 AM
Victoria Dionne Camacho
why program still works if we write. input(int) instead of int(input()) in my code, (it doesn't work in sololearn try other)
error
input
python
python3
1 Vote
6 Answers
3rd Oct 2020, 3:26 PM
Ankit Nainwal
age = int(input()) if(age == 0 and age <= 11): print('Child') elif(age >= 11 and age <= 17): print('Teen') elif(age > 17
python
0 Votes
3 Answers
12th May 2022, 7:23 AM
Purple Phoenix 7
num = int(input()) def Fib(n): return n if (n<2) else Fib(n-2) + Fib(n-1) for i in range(6): print(Fib(i)) #compl
fibonacci
-1 Vote
2 Answers
23rd Nov 2020, 9:38 AM
Thakkar Heer
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
what is the problem in this code???
If
int(input())
x
x+y>0
y
1 Vote
6 Answers
20th Jan 2018, 11:15 PM
Samuel Antoine
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
Tip Calculator When you go out to eat, you always tip 20% of the bill amount. But who’s got the time to calculate the right ti
#your
=
bill
code
goes
here
int(input())
-5 Votes
2 Answers
6th Feb 2021, 3:12 PM
Utkirbek Yuldoshev
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
What is answer ?? Correct , be wrong o code ,where ???
=
if
int(input())
print("boiling")
temp
temp>=100:
-1 Vote
1 Answer
26th Jul 2022, 4:42 AM
Alan Silva
I am unable to understand the part of a code in python3
=
age
for
i
in
int(input())
p
range(0
t
t):
0 Votes
2 Answers
20th Jul 2020, 12:41 PM
Agrata Singh
i am not getting correct even odd numbers count from given range of numbers (range -5 to 7)...
(i%2)
+
+1
=
==
0
0:
1
a
b
b+1):
count
else:
even
even_count
for
i
if
in
int(input())
odd
odd_count
print(even_count)
print(odd_count)
range(a
0 Votes
3 Answers
23rd Feb 2021, 9:58 AM
anil jampani
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
New code
1 Votes
Does anyone have the solution for this challenge?
1 Votes
Clean Code
3 Votes
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Why does coding take so long to learn
0 Votes
Solved Ai generated practice the last question
0 Votes
Hello Everyone
0 Votes
Solved# Survey data format in coding for data
0 Votes
How to add unordered lists in HTML.
0 Votes
What is the use of .kt classes in the React Native project
0 Votes