Skip to content

Commit f34657a

Browse files
Update Return Functions.py
1 parent da5db74 commit f34657a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Return Functions.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,19 +124,19 @@ def args_example(*args):
124124
return args[0]
125125

126126
print(args_example( # insert a hard line break if you like.
127-
'Test with numbers',0,1,2,3,4,5,6,7,8,9,'Example.'))
127+
'Text with numbers',0,1,2,3,4,5,6,7,8,9,'Example.'))
128128

129129
# Example 2:
130130

131131
def args_example(*args):
132132
return( # insert a hard line break if you like.
133-
'Test with numbers',0,1,2,3,4,5,6,7,8,9,'Example.')
133+
'Text with numbers',0,1,2,3,4,5,6,7,8,9,'Example.')
134134

135135
print(args_example()[0])
136136
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
137137
def kwargs_example(**kwargs):
138138
return( # insert a hard line break if you like.
139-
'Test with numbers',0,1,2,3,4,5,6,7,8,9,'Example.')
139+
'Text with numbers',0,1,2,3,4,5,6,7,8,9,'Example.')
140140

141141
print(kwargs_example()[0])
142142
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
@@ -147,23 +147,23 @@ def args_example(*args):
147147
return args
148148

149149
args=args_example( # insert a hard line break if you like.
150-
'Test with numbers',0,1,2,3,4,5,6,7,8,9,'Example.')
150+
'Text with numbers',0,1,2,3,4,5,6,7,8,9,'Example.')
151151

152152
print(args[0])
153153

154154
# Example 2:
155155

156156
def args_example(*args):
157157
return( # insert a hard line break if you like.
158-
'Test with numbers',0,1,2,3,4,5,6,7,8,9,'Example.')
158+
'Text with numbers',0,1,2,3,4,5,6,7,8,9,'Example.')
159159

160160
args=args_example()
161161

162162
print(args[0])
163163
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
164164
def kwargs_example(**kwargs):
165165
return( # insert a hard line break if you like.
166-
'Test with numbers',0,1,2,3,4,5,6,7,8,9,'Example.')
166+
'Text with numbers',0,1,2,3,4,5,6,7,8,9,'Example.')
167167

168168
kwargs=kwargs_example()
169169

@@ -176,7 +176,7 @@ def args_example(*args):
176176
return args
177177

178178
args=args_example( # insert a hard line break if you like.
179-
'Test with numbers',0,1,2,3,4,5,6,7,8,9,'Example.')
179+
'Text with numbers',0,1,2,3,4,5,6,7,8,9,'Example.')
180180

181181
for i in args:
182182
print(i,end=' ') # add the 'end=' function to create single-line text output.
@@ -186,7 +186,7 @@ def args_example(*args):
186186

187187
def kwargs_example(**kwargs):
188188
return( # insert a hard line break if you like.
189-
'Test with numbers',0,1,2,3,4,5,6,7,8,9,'Example.')
189+
'Text with numbers',0,1,2,3,4,5,6,7,8,9,'Example.')
190190

191191
kwargs=kwargs_example()
192192

0 commit comments

Comments
 (0)