Try to search your question here, if you can't find : Ask Any Question Now ?

Python3 Command Line Argument 2 decimal places and .format

HomeCategory: stackoverflowPython3 Command Line Argument 2 decimal places and .format
Avatarbhawya asked 5 months ago

I need to write a program that takes 5 floats from command line arguments and computes the average but it needs to be in 2 decimals and I am not sure how to use the .format function. Here is the question and what I have so far written, I need to get rid of the single quotations in my answer as well as having 2 decimal places in my answer and my arguments.My incorrect answerMy working The outcome I need

1 Answers
Best Answer
AvatarJyoti answered 5 months ago
Your Answer

0 + 12 =

Popular Tags

WP Facebook Auto Publish Powered By :