Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>First HTML document</title>
</head>
<body>
<p>Lessons</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>My first page</title>
<meta charset="UTF-8">
<meta name="keywords" content="coding, hello, basics">
</head>
<body>
<h1>Hello World!</h1>
from random import randint
import json
from datetime import datetime
# current_time = datetime.datetime.now()
# current_time_formatted = '{0:%Y-%m-%d %H:%M:%S}'.format(current_time)
# print(current_time_formatted)
secret = randint(1, 30)
attempts = 0
mood = "unhappy"
print_string = ""
if mood == "unhappy":
print_string = "It is great to see you happy!"
elif mood == "nervous":
print_string = "Take a deep breath 3 times."
elif mood == "unhappy":
print_string = "Take a deep breath 3 times."
else: