DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to take float input upto 2 decimal points in python
floatInputToBeTaken = "{:.2f}".format(float(input()))
PREVIOUS
NEXT
Tagged:
#float
#input
#upto
#decimal
#points
#python
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit