Created
November 10, 2014 16:06
-
-
Save samueltcsantos/a5c20b9ee6f914d11196 to your computer and use it in GitHub Desktop.
Converter metros para centímetros em Python.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
''' | |
Autor: Samuel T. C. Santos | |
Data: 09.11.2014 | |
''' | |
metros = float (input('Metros? ')) | |
centimetros = metros * 100; | |
print centimetros, ' cm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
'''
Autor: Amanda Paracampo
Data: 19.11.2023 ###
'''
def cm (x):
return x * 100
y = cm (z)
print("O valor em CM é de", y)