Skip to content
Advertisement

Learning Python: Printing Variable Key Arguments

I’m trying to write a program that can take and print a variable number of arguments. The code is below. My code works, however, the format of the output is not what I am trying to achieve. Can someone help me work around the output?

Desired output:

JavaScript

My output:

JavaScript
JavaScript

Advertisement

Answer

I apparently went too far I guess? This is the proper coding, thanks everyone for the help.

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement