• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu

Обсуждения

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 голосов
2 ответов
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 голосов
2 ответов
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 голосов
2 ответов
29th Jul 2016, 7:22 PM
Rupam Das
Rupam Das - avatar
< Предыдущий1...3435Следующий >
Актуальное сегодня
Hello World!
0 Votes
What is wrost mistake that mostly people made while learning coding?
0 Votes
I'm lost with JavaScript (document.getElementById(".") And clearly making mistakes, Can someone help, I thought I had it but no.
0 Votes
What’s the actual difference between MB and GB in real-world usage?
1 Votes
Script file names
0 Votes
How to put multiple inputs in python?
1 Votes
What can I do after learning python and how to create amazing codes. And how many times it would take to be a good programmer😅
0 Votes
What to learn🤔
0 Votes
I wish Ruby back in the course list
1 Votes
Messages problem
0 Votes