Skip to content

CRIS-CS-Python/input-calc-numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

input-calc-numbers

This exercise will input number from the terminal, perform calculations and output results.

Celcius to Fahrenheit

Complete the script c_to_f.py to

  • Prompt the user for a celcius temperature.
  • Output the equivalent Fahrenheit temperature.

Example output

$ py c_to_f.py
Enter a Celcius temperature as a float: 39.3
Temperature in Fahrenheit: 102.74

USD to Thai Baht Conversion

Complete the script currency.py to

  • Prompt the user for a USD amount.
  • Output the equivalent Thai Baht conversion amount.

Use Xe or another currency converter of your choice to determine the conversion rate.

Example Output

$ py currency.py
Enter currency amount in USD: 101.13
3406.9382309999996 Thai Baht

Commit and Push Code

Commit and push your code to Github when complete.

About

This exercise will input number from the terminal, perform calculations and output results.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages