Code
Where do you want to go?
Code Examples
Some code examples used to complete tasks for HTL Bulme classes, like POS, WMC and others.
A small python example
A simple python code block, showing a typical python pattern. (Code to be replaced with actal code!)
#!/usr/bin/env python3
import sys
def hello():
greetings = ['Hello', 'Hola', 'Bonjour', 'Hallo','Ciao', 'Ni Hao']
for greeting in greetings:
print(f'{greeting}, World!')
def main():
hello()
return 0
if __name__ == '__main__':
sys.exit(main())
A Bit of C/C++
A simple Hello World introduction codeblock.
#include <iostream>
// Hello World code block
int main(void) {
std::cout << "Hello, World!" << std::edl;
return 0; // 0 for success
}