Skip to content

Commit c980f34

Browse files
authoredFeb 27, 2019
Update README.md
#wrecked
1 parent 7cffd98 commit c980f34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎1 - Getting Started/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ What if we wanted to include arguments? We can do this by placing the argument n
109109
```python
110110
def examplefunction(url):
111111
a = 'Grants Function'
112-
b = a + ' is at the address ' url
112+
b = a + ' is at the address ' + url
113113
print(b)
114114
return b
115115

@@ -120,11 +120,11 @@ In this example we feed in a value (url) which is used to construct another vari
120120

121121
```python
122122
def examplefunction(description):
123-
a = f'Chris has a {description} statment of work'
123+
a = f'Chris has a {description} statement of work'
124124
print(a)
125125
return a
126126

127127
examplefunction('ugly')
128128
```
129129

130-
Using F Strings we can feed our value directly into a string, in this case, we have simplified the code, and made it more readable. At the end, our function executes, calling Chris's Slaters statement of work ugly. Poor Chris.
130+
Using F Strings we can feed our value directly into a string, in this case, we have simplified the code, and made it more readable. At the end, our function executes, calling Chris's Slaters statement of work ugly. Poor Chris.

0 commit comments

Comments
 (0)
Please sign in to comment.