Kurse
Kurse
Code Compiler
Code Compiler
Diskutieren
Teams
Anmelden
Registrieren
Menu
F&A Diskussionen
Suchen
Suchen
Eine Frage stellen
Eine Frage stellen
n = int(input())
int(input())
n=
-1 Stimme
4 Antworten
28th Aug 2022, 7:16 PM
Dawit Getachew Mekonin
Can you put more numbers in a int(input())
help
1 Stimme
3 Antworten
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 Stimme
2 Antworten
27th Oct 2020, 3:10 PM
Jaya Pratha
How can I use the int(input()) for the else-statements
else-statements
2 Stimmen
3 Antworten
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 Stimme
14 Antworten
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 Stimmen
3 Antworten
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 Stimmen
2 Antworten
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 Stimmen
3 Antworten
15th Apr 2021, 6:40 AM
Priyanka
Why do I get error message when I used int(input())
birthday
code
happy
0 Stimmen
4 Antworten
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 Stimmen
14 Antworten
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 Stimmen
10 Antworten
26th Feb 2021, 12:07 PM
Downey Dewy
What is int(input()) function and str(input())function ?what is use of them.?
python3
0 Stimmen
3 Antworten
19th Aug 2020, 1:12 AM
#challenger mg
How to Show number of divisors of int(input()) in python !?
math
python
python3
0 Stimmen
2 Antworten
13th Feb 2020, 7:53 AM
Mohammad Tashakkori
fruits = int(input()) apples = fruits /4 while True : print(apples//3) my attempt :(
python
1 Stimme
6 Antworten
22nd Jul 2020, 4:11 PM
Amit Kumar
Why does eh = int(input()) not work in all IDEs?
python
0 Stimmen
1 Antwort
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 Stimme
4 Antworten
4th Dec 2021, 8:01 PM
Bobby Richard
n = int(input()) length = 0 while n > 0: n //= 10 length += 1 print(length)
python3
0 Stimmen
4 Antworten
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 Stimmen
12 Antworten
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 Stimmen
12 Antworten
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 Stimmen
8 Antworten
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 Stimmen
4 Antworten
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 Stimme
14 Antworten
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 Stimme
2 Antworten
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 Stimme
3 Antworten
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 Stimme
7 Antworten
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 Stimme
3 Antworten
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 Stimmen
4 Antworten
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 Stimmen
5 Antworten
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 Stimme
7 Antworten
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 Stimme
6 Antworten
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 Stimmen
3 Antworten
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 Stimme
2 Antworten
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 Stimmen
10 Antworten
4th Jan 2023, 1:04 AM
Ohanenye Kennedy
what is the problem in this code???
If
int(input())
x
x+y>0
y
1 Stimme
6 Antworten
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 Stimme
2 Antworten
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 Stimmen
2 Antworten
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 Stimmen
9 Antworten
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 Stimme
1 Antwort
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 Stimmen
2 Antworten
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 Stimmen
3 Antworten
23rd Feb 2021, 9:58 AM
anil jampani
Eine Frage stellen
Eine Frage stellen
Eine Frage stellen
Eine Frage stellen
Heute heiß
Help please?
4 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 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
Ruby programming?
3 Votes