• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu

Sesiones de PyR

I want to use "System.out.print();" to get input from users. How can I define the input as a string so that I can use if statement to check whether the input is equal to a word I set like "red"
java
0 Votos
2 Respuestas
16th Oct 2016, 8:06 AM
Cheung Kim Fung
Cheung Kim Fung - avatar
in nested 'if' . why dos 'if' statement is execute the first answer, even there is some right answer in below. why is work in first come first serve, if I wanted to get more answer in an 'if' state ment is it possible in python
if-statementspython
0 Votos
2 Respuestas
13th Nov 2016, 7:42 PM
Arun karthick
Arun karthick - avatar
def add(x, y): return x + y def do_twice(func, x, y): return func(func(x, y), func(x, y)) a = 5 b = 10 print(do_twice(add, a, b)) Please explain step by step Which is caller here? Explain the 3rd and 4th line ? why in 4th line we write add(add(x,y),add(x,y)) which is function of 1st line ? how can we write function after return statement insted of (x+y+x+y )=30?
python
0 Votos
2 Respuestas
29th Jul 2016, 7:22 PM
Rupam Das
Rupam Das - avatar
< Anterior1...3435Siguiente >
En tendencia hoy
Hofstadter a sequence code coach is not running
0 Votes
Vote Code
1 Votes
the code for bigneer is not really what to do after coding begeneer in sololearn
0 Votes
Input errors (python)
1 Votes
Without degree job
0 Votes
I wanna know is that what about dot net developers in future there is possible they gonna downfall in industry
0 Votes
What’s the actual difference between MB and GB in real-world usage?
1 Votes
Je cherche des gens qui parle français pour apprendre le langage c
0 Votes
Html learn
1 Votes
Java doubt coders
0 Votes