0

Python 3

User defined functions in regular expressions

3rd Oct 2019, 6:06 AM
Selvan Kumar
Selvan Kumar - avatar
1 Respuesta
+ 1
Didn't get exactly what is meant ? But may be this is answer. def myfunc(): print('This is user defined function') myfunc() parameter can be passed if necessary. def myfunc(x,y): return x+y print('The sum is: ',myfunc(32,45) RegEx #To import regular expression - import re more about regular expression: https://www.programiz.com/JUMP_LINK__&&__python__&&__JUMP_LINK-programming/regex
3rd Oct 2019, 6:24 AM
★«D.Connect_Zone»
★«D.Connect_Zone» - avatar