Home / Questions / Other Variable number of positional arguments कैसे लेते हैं? — interview में इसका सही जवाब क्या है? Other 0 Views Verified Variable number of positional arguments कैसे लेते हैं? — interview में इसका सही जवाब क्या है? #python #python programming #coding #developer Sarkari Result QA Bank Editorially reviewed exam information Share
Verified def total(numbers...): def total(numbers...): Additional Explanation यह विकल्प सही समाधान नहीं है।
Verified Correct Answer def total(*numbers): return sum(numbers) def total(*numbers): return sum(numbers) Additional Explanation *args arbitrary positional arguments को tuple के रूप में लेते हैं।
Verified def total(&numbers): def total(&numbers): Additional Explanation यह विकल्प सही समाधान नहीं है।
Verified def total(...numbers): def total(...numbers): Additional Explanation यह विकल्प सही समाधान नहीं है।