Answers for "show numbers in comma seperated values in python"

3

python input comma separated values

lst = input().split(',')
Posted by: Guest on February-04-2020
1

2 numbers after comma python

num = 0.4826752452832

print(round(num,2)) #in this case we want 2 numbers after the comma

# terminal :
# 0.48
Posted by: Guest on November-07-2021

Code answers related to "show numbers in comma seperated values in python"

Python Answers by Framework

Browse Popular Code Answers by Language