In course "Python Core" Code project 103 Adding Words | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

In course "Python Core" Code project 103 Adding Words

In course "Python Core" Code project 103 Adding Words 2 variants of code that work in IDLE (Python 3.9 64-bit) get error Code - -------------------------------------------- def concatenate(*args): print(*args, sep='-') concatenate("I", "love", "Pithon", "!") -------------------------------------------- Site wrote Test Case 1 Input No Input Your Output I-love-Pithon-! Expected Output I-love-Python-! Code - -------------------------------------------- def concatenate(*args): print("-".join([*args])) concatenate("I", "love", "Pithon", "!") -------------------------------------------- Test Case 1 Input No Input Your Output I-love-Pithon-! Expected Output I-love-Python-!

16th Aug 2021, 1:49 PM
Dmitry Arkhangelsky
2 Answers
+ 9
It's Python not Pithon
16th Aug 2021, 1:59 PM
Simba
Simba - avatar
+ 1
print (*['I','love','pigeon']) print (*['I','love','paython']) print (*['I','love','pyhon']) 😑
16th Aug 2021, 3:07 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar