We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfdd391 commit 863ca31Copy full SHA for 863ca31
funny.py
@@ -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