Cursussen
Inloggen
Begin met het leren van AI
Cursussen
Inloggen
Begin met het leren van AI
Q&A Discussies
Zoeken
Zoeken
Stel een vraag
Stel een vraag
n = int(input())
int(input())
n=
-1 Stem
4 Antwoorden
28th Aug 2022, 7:16 PM
Dawit Getachew Mekonin
Can you put more numbers in a int(input())
help
1 Stem
3 Antwoorden
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 Stem
2 Antwoorden
27th Oct 2020, 3:10 PM
Jaya Pratha
How can I use the int(input()) for the else-statements
else-statements
2 Stemmen
3 Antwoorden
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 Stem
14 Antwoorden
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 Stemmen
3 Antwoorden
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 Stemmen
2 Antwoorden
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 Stemmen
3 Antwoorden
15th Apr 2021, 6:40 AM
Priyanka
Why do I get error message when I used int(input())
birthday
code
happy
0 Stemmen
4 Antwoorden
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 Stemmen
14 Antwoorden
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 Stemmen
10 Antwoorden
26th Feb 2021, 12:07 PM
Downey Dewy
What is int(input()) function and str(input())function ?what is use of them.?
python3
0 Stemmen
3 Antwoorden
19th Aug 2020, 1:12 AM
#challenger mg
How to Show number of divisors of int(input()) in python !?
math
python
python3
0 Stemmen
2 Antwoorden
13th Feb 2020, 7:53 AM
Mohammad Tashakkori
fruits = int(input()) apples = fruits /4 while True : print(apples//3) my attempt :(
python
1 Stem
6 Antwoorden
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 Stem
4 Antwoorden
4th Dec 2021, 8:01 PM
Bobby Richard
n = int(input()) length = 0 while n > 0: n //= 10 length += 1 print(length)
python3
0 Stemmen
4 Antwoorden
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 Stemmen
12 Antwoorden
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 Stemmen
12 Antwoorden
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 Stemmen
7 Antwoorden
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 Stemmen
4 Antwoorden
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 Stem
14 Antwoorden
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 Stem
2 Antwoorden
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 Stem
3 Antwoorden
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 Stem
7 Antwoorden
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 Stem
3 Antwoorden
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 Stemmen
4 Antwoorden
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 Stemmen
5 Antwoorden
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 Stem
7 Antwoorden
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 Stem
6 Antwoorden
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 Stemmen
3 Antwoorden
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 Stem
2 Antwoorden
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 Stemmen
10 Antwoorden
4th Jan 2023, 1:04 AM
Ohanenye Kennedy
what is the problem in this code???
If
int(input())
x
x+y>0
y
1 Stem
6 Antwoorden
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 Stem
2 Antwoorden
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 Stemmen
2 Antwoorden
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 Stemmen
9 Antwoorden
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 Stem
1 Antwoord
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 Stemmen
2 Antwoorden
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 Stemmen
3 Antwoorden
23rd Feb 2021, 9:58 AM
anil jampani
Stel een vraag
Stel een vraag
Stel een vraag
Stel een vraag
Populair vandaag
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
2 Votes
Give some simple practice questions in C
0 Votes
??
1 Votes
Ошибка в приложении Sololearn
1 Votes
NEO V2.0
1 Votes
Hello guys,
1 Votes
How many time I can use sololearn trial mode?
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Help me
1 Votes
solo learn program issue - iPhone?
1 Votes