#Python
x = 2
while x <= 9:
print(x,end=" ")
x += 2
#include<iostream>
using namespace std;
int main()
{
int i = 1;
while (i <= 9)
if (i % 2 == 0)
cout << i << " ";
}
i++;
#Python
x = 2
while x <= 9:
print(x,end=" ")
x += 2
#include<iostream>
using namespace std;
int main()
{
int i = 1;
while (i <= 9)
{
if (i % 2 == 0)
{
cout << i << " ";
}
i++;
}
}