Type Conversion

  1. Write a Python program to convert a temperature from Celsius to Fahrenheit using type conversion ?
  2. Write a Python program to convert user-entered string values into integers and perform arithmetic operations ?
  3. Write a Python program to calculate compound interest by converting user inputs into appropriate numeric data types ?
  4. Write a Python program to convert a number entered as a string into integer, float, and string data types ?
  5. Write a Python program to convert marks entered as strings into numeric values and calculate the average ?
  6. Write a Python program to convert a user-entered number into binary, octal, and hexadecimal formats ?
  7. Write a Python program to accept a number as a string and determine whether it can be converted into an integer or float ?
Previous Topic Variables and Data Types Next Topic Operators (Conditional + Logical)