Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Why the error ( EOF ) when I write two or more < input > in Python3?
eof
eoferror
error
python3
2 Votes
2 Answers
30th Jan 2018, 1:58 AM
>> ISAI <<
Hi everyone, why is it getting 25 as an output in this code? Isn't it "a < 25" after all?
c#
while
1 Vote
3 Answers
30th Jul 2022, 10:41 AM
Zeynep Bilge Özkan
can someone help, fill in the blanks to print all elements of the array using a for loop? int [] arr= new int [7]; ? (int k=0; k < ? ; k++){ console.writeline ( ??? [ k] );
c++
-1 Vote
7 Answers
2nd Jul 2016, 8:40 PM
Joyx Kish
for (int a = 0; a < 50; a+=10) HOW DO THEY GET THE 10 SOMEONE PLEASE HELP @_@
c++
loops
0 Votes
7 Answers
18th Jan 2017, 4:58 PM
Jade-leroy
weight = flaot(input()) height = flaot(input()) bmi = weight/(height**2) if bmi < 18.5: print('underweight') elif (bmi >= 1
key
psycho
vdgf
-1 Vote
3 Answers
20th Aug 2022, 8:11 PM
Youssef Hakki
nums = [-1, 2, -3, 4, -5] if all([abs(i) < 3 for i in nums]): print(1) else: print(2
@questions
-3 Votes
4 Answers
6th Jun 2021, 5:26 AM
Tia
Can I make a case in CPP that tests if x < 2 for example
c++
switch
0 Votes
1 Answer
14th Nov 2018, 5:12 PM
Platinoob_
int arr[] = {1, 2, 3, 4, 5}; (int x = 0; x < 5; x++) { printf("%d", [x]); }
array
6 Votes
1 Answer
17th Apr 2022, 4:14 PM
Arafat Rahon
# python i = 0 while i < 10: print("hallo") i += 1 Brother and sister help this programming error
help
1 Vote
3 Answers
15th Aug 2020, 2:23 AM
Hacker Tamil Tamila
I don't know whether u need #include < iostream >. Is it the beginning of any Programm?
c++
include
iostream
0 Votes
3 Answers
23rd Nov 2016, 1:42 PM
siro14
how to pass local path of mobile to HTML image source for android mobile
<
img
src=""
0 Votes
2 Answers
15th Jun 2018, 2:50 AM
Nikhil Ekhande
why if statement is going wrong < act as > and > act as <?
c++
If
if-statements
0 Votes
1 Answer
14th Dec 2017, 1:08 PM
Frankestine Stine
#include<iostream> using namespace std; void f(int n) { if (n == 1 || n == 0) return; else { cout <
c
c++
recursion
0 Votes
5 Answers
2nd Jun 2019, 7:41 AM
Shehroz Irfan
May you tell me what is wrong with this code ,why I am unable to use < img> tag
<img>
html
1 Vote
1 Answer
3rd Nov 2023, 6:04 PM
kamal soni
What is meta charset?
<
charset
meta
1 Vote
2 Answers
19th Jul 2020, 5:12 AM
Électro sparkz
why cant we use <> in switch statements like switch (age){ case < 16}, why we cant use <?
c++
switch
1 Vote
4 Answers
20th Dec 2016, 4:33 PM
Aqib Asmat
How can i write < , / and > as a normal text inside html page not as tag
html
1 Vote
4 Answers
9th Nov 2017, 3:03 PM
Muhmd Ezz
What the meaning of "cout<<(1.5<1);"?
<
1.5<1
c++
cout
-1 Vote
8 Answers
6th Jun 2020, 9:04 AM
Aminul
i know about #include <stdio.h> header file ,is we can replace with <iostream> header file with < stdio.h > ??
,is
<stdio.h>
about
can
file
header
i
include
know
we
0 Votes
4 Answers
14th Jul 2018, 5:31 AM
BANDI SAGAR
You are given an array A1,A2...AN. You have to tell how many pairs (i, j) exist such that 1 ≤ i < j ≤ N and Ai XOR Aj is odd.
basic
easy
math
programming
6 Votes
2 Answers
29th Aug 2017, 10:11 AM
ⓢⓐⓝⓓⓔⓔⓟ
Why dont my cpp code works when i use < conio.h> or <graphics.h>?? Pls help. No such file or directory is seen in output section
c++
2 Votes
7 Answers
20th Jan 2020, 5:58 AM
Rakesh Pradhan
Int count=0; For(int i=N; i > 0 ; i/=2) { For(int j=0; j < i ;
c#
-2 Votes
2 Answers
19th Mar 2017, 7:00 AM
lalith narayan
any competitions present?
:-)
<
>
0 Votes
2 Answers
15th Oct 2020, 12:01 PM
Daniel Kenan Slinda
What is the output of this code? for(var x =0; x==x; x++) { if(x > 5 && x < 8) { document.write(x); break;} }
js
5 Votes
5 Answers
3rd Mar 2019, 12:38 PM
david chongo
weight = input() height = input() BMI = weight / (height ** 2) if BMI < 18.5: print(Underweight) elif BMI >= 18.5 and BM
help
me
please
2 Votes
4 Answers
19th Jan 2022, 10:25 AM
𝑫𝒂𝒌𝒔𝒉 𝑫𝒆𝒗𝒆𝒍𝒐𝒑𝒆𝒓
Why in HTML, there are always the < > part and <\> part? I dont understand. What if I delete the <\> part?
html
4 Votes
3 Answers
23rd Sep 2020, 3:25 AM
Linh Tran
What is the difference between < href> and <src> how can i use my picture in my blog ??? Tell me the code
css
html
html5
1 Vote
6 Answers
3rd Aug 2018, 5:07 AM
Ahmar Farooq
How many times will the following loop work? int x = 0; int y = 5; while (x < y) { System.out.println("Hello"); x++; }
o
0 Votes
5 Answers
5th May 2022, 6:00 AM
jayson abion
x = 1 while x < 10: if x%2 == 0: print(str(x) + "hallo") else: print(str(x) + "world") x += 1
help
2 Votes
2 Answers
15th Aug 2020, 2:46 AM
Hacker Tamil Tamila
Can we like type if statement with 2 condition. For example - if (int > 60) ( int < 70 )
c++
cpp
1 Vote
4 Answers
13th Dec 2017, 5:48 AM
Aditya Gupta
I am getting an error : bad operand types for binary operator '<' if ( x < 18) { first type: "Scanner" , second type : "int"
java
0 Votes
7 Answers
16th Sep 2017, 8:09 PM
Sonu Kumar Jha
what is the meaning of this return, (arr[0] < arr[1] && restArray), plz explain the process of excuting
praveenanand
0 Votes
1 Answer
3rd Oct 2021, 10:46 AM
Praveen
How strings are compares in python like is ab greater than z or abc less than p or b < d . How to know this?
boolean-logic
python
strings
0 Votes
6 Answers
5th Jun 2022, 3:41 AM
Pratik Pattnaik
#include <iostream> using namespace std; int main() { int num = 1; while (num < 7) { cout << "Number: " << num
sa
0 Votes
3 Answers
23rd May 2019, 5:22 AM
alif sadam
Why is the output of this code also 5? Isn't the if num < 5: an inner statement of the if num> 3 ?
if-statements
python
0 Votes
4 Answers
11th Nov 2019, 1:44 PM
Esteban Rueda
How does >>> print( 'True' < "true") evaluate to result as True in Python? does Python consider the ASCII value for comparison?
booleans
python
3 Votes
2 Answers
16th Aug 2016, 12:41 AM
Sundaresen Bhalasubramanean
Can anyone please explain me object pointing methods (pointer and others) and about " ::" < these dots and CONSTANT ..??
begginer
c++
classes
help
method
objects
operation
pointers
3 Votes
1 Answer
4th Feb 2018, 12:51 PM
Anmol Batra
Why can't I add a picture ?
<
<img>
<src>
a
href>
0 Votes
11 Answers
16th Nov 2018, 5:45 PM
Артём
How does func fib(n: Int) -> Int { return n < 2 ? n : (fib(n-1) + fib(n-2)) } print(fib(3)) have an output of 2
functions
swift
3 Votes
2 Answers
30th Apr 2018, 8:41 PM
Aarnav
Please tell me the meaning of voteable = ( age < 18) ? , and what is the meaning of ? (question mark) here ????????
javascript
1 Vote
6 Answers
28th Nov 2017, 4:38 PM
Karan Rajput
What is the output of this line in C... int c = (a < b) ? b : a ;
c
0 Votes
1 Answer
15th Apr 2019, 3:57 PM
T Harish Kumar
I want the result to be 6(or < 9), because that is the condition ( srry google traslate) im a beginner
python
1 Vote
2 Answers
25th Dec 2016, 6:22 PM
Julio Csar
D={'Ahmed':[1,5,3], 'Ali':[6,2,4]} for item in D: count = len(D[item]) - 1 x = 0 while x < count: D[item][count] += 1
explain
python
0 Votes
1 Answer
22nd Dec 2019, 7:45 PM
Hussin Fekry
#include <iostream> using namespace std; void test(int*, int*); int main() { int a = 5, b = 5; cout << "Before changing:" <
c++
dev
-1 Vote
2 Answers
5th Jul 2022, 1:34 PM
Kathleen Joy Uy
I am doing intermediate Sql. Does any one know what is wrong with code below
<
and
salary
salary>=0
selectfirstname,lastname,salarycase
when
1 Vote
5 Answers
1st Feb 2023, 10:48 PM
NURUDEEN USMAN
public class whileLoop { public static void main(String[ ] args) { int a = 10; while(a < 20); System
java
0 Votes
1 Answer
23rd Jun 2017, 8:59 AM
Goodnews Oburu
What is the output of this code? num = 7 if num > 3: print("3") if num < 5: print("5") if num ==7: p
help
me
0 Votes
1 Answer
24th Sep 2020, 6:20 PM
Bhavesh Nandave
This Unless tag in Ruby is somewhat confusing yeah! Can someone check it out?a = 42 unless a < 10 puts "Yes" else puts "no"
code
ruby
3 Votes
2 Answers
20th Jun 2018, 7:05 PM
Rex
int arr[] = {11, 35, 62, 555, 989}; int sum = 0; for (int x = 0; x < 5; x++) { sum += arr[x]; } cout << sum << endl
arrays
5 Votes
8 Answers
27th Nov 2016, 4:31 PM
Bhairesh M
Hello guys some one help me explain this while loop x = 1 while x < 10: if x%2 == 0: print(str(x) + " is even")
python3
1 Vote
3 Answers
10th Aug 2020, 8:08 AM
Akatwijuka Allan
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
3
4
5
Next >
Hot today
Help please?
3 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 Votes
Odd even threads without condition variable
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
SQL practice
2 Votes
Game development
0 Votes