Skip to content

Commit 5bb3c58

Browse files
committed
readability python
1 parent 98d6c0a commit 5bb3c58

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • examples/plain-javascript/src-tauri/src-python

examples/plain-javascript/src-tauri/src-python/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
counter = 0
44

5-
def greet_python(a):
5+
def greet_python(input):
66
global counter
77
counter = counter + 1
8-
print("received: " + str(a))
8+
print("received: " + str(input))
99
s = "" if counter < 2 else "s"
10-
return f'Hello {a}! You\'ve been greeted {counter} time{s} from Python.'
10+
return f'Hello {input}! You\'ve been greeted {counter} time{s} from Python.'

0 commit comments

Comments
 (0)