Kursy
Kursy
Kompilator kodu
Kompilator kodu
Dyskusja
Zespoły
Zaloguj się
Zarejestruj się
Menu
Dyskusje Q&A
Szukaj
Szukaj
Zadaj pytanie
Zadaj pytanie
n = int(input())
int(input())
n=
-1 Głos
4 odpowiedzi
28th Aug 2022, 7:16 PM
Dawit Getachew Mekonin
Can you put more numbers in a int(input())
help
1 Głos
3 odpowiedzi
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 Głos
2 odpowiedzi
27th Oct 2020, 3:10 PM
Jaya Pratha
How can I use the int(input()) for the else-statements
else-statements
2 głosów
3 odpowiedzi
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 Głos
14 odpowiedzi
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 głosów
3 odpowiedzi
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 głosów
2 odpowiedzi
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 głosów
3 odpowiedzi
15th Apr 2021, 6:40 AM
Priyanka
Why do I get error message when I used int(input())
birthday
code
happy
0 głosów
4 odpowiedzi
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 głosów
14 odpowiedzi
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 głosów
10 odpowiedzi
26th Feb 2021, 12:07 PM
Downey Dewy
What is int(input()) function and str(input())function ?what is use of them.?
python3
0 głosów
3 odpowiedzi
19th Aug 2020, 1:12 AM
#challenger mg
How to Show number of divisors of int(input()) in python !?
math
python
python3
0 głosów
2 odpowiedzi
13th Feb 2020, 7:53 AM
Mohammad Tashakkori
fruits = int(input()) apples = fruits /4 while True : print(apples//3) my attempt :(
python
1 Głos
6 odpowiedzi
22nd Jul 2020, 4:11 PM
Amit Kumar
Why does eh = int(input()) not work in all IDEs?
python
0 głosów
1 Odpowiedź
27th Aug 2022, 7:20 PM
Joshua Aquatic
How do you solve this, and what's the real explanation of int(input()) it's confusing
numeric-operations
1 Głos
4 odpowiedzi
4th Dec 2021, 8:01 PM
Bobby Richard
n = int(input()) length = 0 while n > 0: n //= 10 length += 1 print(length)
python3
0 głosów
4 odpowiedzi
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 głosów
12 odpowiedzi
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 głosów
12 odpowiedzi
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 głosów
8 odpowiedzi
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 głosów
4 odpowiedzi
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 Głos
14 odpowiedzi
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 Głos
2 odpowiedzi
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 Głos
3 odpowiedzi
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 Głos
7 odpowiedzi
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 Głos
3 odpowiedzi
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 głosów
4 odpowiedzi
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 głosów
5 odpowiedzi
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 Głos
7 odpowiedzi
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 Głos
6 odpowiedzi
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 głosów
3 odpowiedzi
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 Głos
2 odpowiedzi
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 głosów
10 odpowiedzi
4th Jan 2023, 1:04 AM
Ohanenye Kennedy
what is the problem in this code???
If
int(input())
x
x+y>0
y
1 Głos
6 odpowiedzi
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 Głos
2 odpowiedzi
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 głosów
2 odpowiedzi
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 głosów
9 odpowiedzi
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 Głos
1 Odpowiedź
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 głosów
2 odpowiedzi
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 głosów
3 odpowiedzi
23rd Feb 2021, 9:58 AM
anil jampani
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Popularne dzisiaj
Help please?
4 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
Odd even threads without condition variable
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Game development
0 Votes
Write a program to find the strings are in isogram or not
0 Votes