Text Practice Mode
Radon Python, C++ and JS
created Apr 11th, 14:47 by Ricardo Vargas
3
90 words
19 completed
4
Rating visible after 3 or more votes
saving score / loading statistics ...
00:00
def calculate_sum(a, b):
result = a + b
return result
if __name__ == "__main__":
for i in range(0, 10):
print("Sum:", calculate_sum(i, i*2))
int main() {
std::vector<int> nums = {1, 2, 3, 4};
for (int i = 0; i < nums.size(); ++i) {
std::cout << "Value: " << nums[i] << std::endl;
}
return 0;
}
function greet(name) {
console.log(`Hello, ${name}!`);
}
let count = 0;
while (count < 5) {
greet("World");
count++;
}
# Comentário em Python
// Comentário em C++
// == != <= >= && || ++ --
result = a + b
return result
if __name__ == "__main__":
for i in range(0, 10):
print("Sum:", calculate_sum(i, i*2))
int main() {
std::vector<int> nums = {1, 2, 3, 4};
for (int i = 0; i < nums.size(); ++i) {
std::cout << "Value: " << nums[i] << std::endl;
}
return 0;
}
function greet(name) {
console.log(`Hello, ${name}!`);
}
let count = 0;
while (count < 5) {
greet("World");
count++;
}
# Comentário em Python
// Comentário em C++
// == != <= >= && || ++ --
