Skip to content

Commit 863ca31

Browse files
author
ee6-lang
committed
Add funny.py
1 parent dfdd391 commit 863ca31

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

funny.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name = "World"
2+
feeling = "awesome"
3+
joke = "Why did the Python cross the road? To get to the other side of the indentation!"
4+
5+
print(f"Hello, {name}! You're looking {feeling} today.")
6+
print(f"Here's a programming joke: {joke}")
7+
8+
# You can even do calculations directly
9+
x = 10
10+
y = 3
11+
print(f"What's 10 divided by 3? It's {x / y:.2f} (rounded to two decimal places).")

0 commit comments

Comments
 (0)