Can you help me spot the error here .... Please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can you help me spot the error here .... Please

def = concatenate('I-love-Python-!'): # print concatenate print('I-love-Python-!')

8th Mar 2021, 11:01 AM
Esra Khalaf
Esra Khalaf - avatar
1 Answer
+ 5
there are many errors. first i would like to ask what you have to do? second try this to print anything through a function def concatenate(val): # print concatenate print(val) concatenate("I-love-Python-!") after def = doesnt come it is a syntax error arguements should be a variable not direct value call the function soemwhere to be able to print it. These were the things I saw. tell me more so I can point out more.
8th Mar 2021, 11:05 AM
Sharique Khan
Sharique Khan - avatar