mass = float(input("кг: "))
ton = mass / 1000
gram = mass * 1000
print(ton, "т ", gram, "г")
euro_cours = 31.90
dollar_cours = 28.61
uan = float(input("Грн: "))
euro = round(uan / euro_cours, 2)
dollar = round(uan / dollar_cours, 2)
print(dollar, "dollars ", euro, "euro")
meters = float(input("м: "))
cm = meters * 100
km = meters / 1000
print(cm, "см ", km, "км")
mass = float(input("кг: "))
ton = mass / 1000
gram = mass * 1000
print(ton, "т ", gram, "г")
euro_cours = 31.90
dollar_cours = 28.61
uan = float(input("Грн: "))
euro = round(uan / euro_cours, 2)
dollar = round(uan / dollar_cours, 2)
print(dollar, "dollars ", euro, "euro")
meters = float(input("м: "))
cm = meters * 100
km = meters / 1000
print(cm, "см ", km, "км")