Created: 2024-08-31 Sat 12:44
<style>
h1.demo-headline { color: blue; }
p.demo-para { color: green; }
#demo-id { color: yellow; }
</style>
<h1 class="demo-headline">Hello World!</h1>
<p class="demo-para">This is a paragraph of text with class “demo-para”.</p>
<p id="demo-id">This is another paragraph with id “demo-id”.</p>
console.log("success");
var x='string using single quote';
x
def factorial(n):
if n < 2:
return 1
else:
return n * factorial(n - 1)
print(factorial(10))
(defn greet [person]
(str "Hello " person))
(map greet ["Alice" "Bob" "Carol"])
CREATE TABLE Software (Name, License, Rating);
INSERT INTO Software VALUES
("GNU Emacs", "GPLv3", 5),
("GNU/Linux", "FLOSS", 5),
("Powerpoint", "Proprietary", 3);
SELECT * FROM Software;
SELECT Name FROM Software WHERE Rating = 5;
def factorial(n): if n < 2: return 1 else: return n * factorial(n - 1) print(factorial(10))