Convert to python:
#include <iostream>
using namespace std;
int main(int argc, char** argv)
{
for (int i = 0, j = i + 3; i < 100; ++i, j= i+3)
cout << i << " j: " << j << endl;
getchar();
return 0;
}
I try:
for i in range(99):
j = i + 3
print i, " j: ", j
How to make it one for loop?