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-!
2 ответов
+ 9
It's Python not Pithon
+ 1
print (*['I','love','pigeon'])
print (*['I','love','paython'])
print (*['I','love','pyhon'])
😑