python:sample_program_for_highlighting
This is an old revision of the document!
# Exponent Calculator # Calculate a base to an exponent's power. # Mithat Konar base = int(input('Enter the base: ')) exponent = int(input('Enter the exponent: ')) result = base ** exponent print(str(base) + ' to the power of ' + str(exponent) + ' is ' + str(result))
python/sample_program_for_highlighting.1469658037.txt.gz · Last modified: 2016/07/27 22:20 by mithat