that would be very confusing to understand for a beginner. PHP you can write <?php echo "Hello world" ?> right in a html file and see it just by refreshing the page.
It is confusing if you don't know the difference between a page templating language and a web framework. If ease of writing "hello world" is what matters, Python: