1. Engineering
  2. Computer Science
  3. suppose you have a variable named amount and you know...

Question: suppose you have a variable named amount and you know...

Question details

Suppose you have a variable named amount, and you know that its data type is float. Write one line of Python of code that will print the value in amount with exactly two digits after the decimal point.


Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution