Cursos
Fazer login
Começar a aprender IA
Cursos
Fazer login
Começar a aprender IA
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
n = int(input())
int(input())
n=
-1 Voto
4 Respostas
28th Aug 2022, 7:16 PM
Dawit Getachew Mekonin
Can you put more numbers in a int(input())
help
1 Voto
3 Respostas
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 Voto
2 Respostas
27th Oct 2020, 3:10 PM
Jaya Pratha
How can I use the int(input()) for the else-statements
else-statements
2 Votos
3 Respostas
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 Voto
14 Respostas
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 Voto
3 Respostas
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 Voto
2 Respostas
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 Votos
3 Respostas
15th Apr 2021, 6:40 AM
Priyanka
Why do I get error message when I used int(input())
birthday
code
happy
0 Voto
4 Respostas
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 Votos
14 Respostas
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 Voto
10 Respostas
26th Feb 2021, 12:07 PM
Downey Dewy
What is int(input()) function and str(input())function ?what is use of them.?
python3
0 Voto
3 Respostas
19th Aug 2020, 1:12 AM
#challenger mg
How to Show number of divisors of int(input()) in python !?
math
python
python3
0 Voto
2 Respostas
13th Feb 2020, 7:53 AM
Mohammad Tashakkori
fruits = int(input()) apples = fruits /4 while True : print(apples//3) my attempt :(
python
1 Voto
6 Respostas
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 Voto
4 Respostas
4th Dec 2021, 8:01 PM
Bobby Richard
n = int(input()) length = 0 while n > 0: n //= 10 length += 1 print(length)
python3
0 Voto
4 Respostas
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 Voto
12 Respostas
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 Votos
12 Respostas
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 Votos
7 Respostas
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 Votos
4 Respostas
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 Voto
14 Respostas
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 Voto
2 Respostas
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 Voto
3 Respostas
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 Voto
7 Respostas
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 Voto
3 Respostas
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 Voto
4 Respostas
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 Votos
5 Respostas
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 Voto
7 Respostas
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 Voto
6 Respostas
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 Voto
3 Respostas
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 Voto
2 Respostas
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 Voto
10 Respostas
4th Jan 2023, 1:04 AM
Ohanenye Kennedy
what is the problem in this code???
If
int(input())
x
x+y>0
y
1 Voto
6 Respostas
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 Voto
2 Respostas
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 Votos
2 Respostas
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 Votos
9 Respostas
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 Voto
1 Resposta
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 Voto
2 Respostas
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 Voto
3 Respostas
23rd Feb 2021, 9:58 AM
anil jampani
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Quente hoje
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