Sesiones de PyR
In the code below the output is 2. This code is used in a challenge and I get an error when I select the answer 2. It accepts as correct the answer 1 which I believe is wrong. If you agree please thumbs up.
If you find any other errors please post them here!
#include <iostream>
using namespace std;
int main()
{
for(int i=1; i>=1; i++) {
if(i<1 || i>1){
cout << i;
break;
}
}
return 0;
}
8 Votos
8 RespuestasEn tendencia hoy
Python
1 Votes
Python question
2 Votes
Guys help please
0 Votes
Control flow
0 Votes
Front-end vs Full-stack
1 Votes
Python
1 Votes
About our Capstone product "Ecocambio" We don't know how to code and how electronics would connect.
0 Votes
Are websites hackable?
1 Votes
C# and sql
1 Votes
What course to take for AI?
0 Votes