Report the Arguments

Medium · Functions & Arguments · Positional parameters

Problem

The script is run with arguments. Print how many there are, then all of them on one line separated by spaces.

With alpha beta gamma the output is 3 then alpha beta gamma.

Approaches

Related problems

Start free on Cariara · Coding problems · System design studio

Starting Python
No results yet.

          
↑↓ move ↵ open esc close

Labs

Loading labs…

Run with your own input

Starting Python

Loading Python…