На С++
for(int i = 1; i<=9; i++){
cout << 5*i << "\n";
}
Python:
[print(f'5 * {i} = {5*i}', end = '\n') for i in range(1, 10)]
PascalABC.NET:
begin
for var i := 1 to 9 do Format('5 * {0} = {1}', i, i*5).Println;
end.
Объяснение:
На С++
for(int i = 1; i<=9; i++){
cout << 5*i << "\n";
}
Python:
[print(f'5 * {i} = {5*i}', end = '\n') for i in range(1, 10)]
PascalABC.NET:
begin
for var i := 1 to 9 do Format('5 * {0} = {1}', i, i*5).Println;
end.
Объяснение: