Skip to content

Commit b58fdf6

Browse files
authored
Merge pull request firdaus#19 from syrusakbary/patch-1
Improved README
2 parents fde68c1 + 7a36c49 commit b58fdf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pip install cadence-client==1.0.0b2
4747

4848
## Hello World Sample
4949

50-
```
50+
```python
5151
import sys
5252
import logging
5353
from cadence.activity_method import activity_method
@@ -70,7 +70,7 @@ class GreetingActivities:
7070
# Activities Implementation
7171
class GreetingActivitiesImpl:
7272
def compose_greeting(self, greeting: str, name: str):
73-
return greeting + " " + name + "!"
73+
return f"{greeting} {name}!"
7474

7575

7676
# Workflow Interface

0 commit comments

Comments
 (0)