Introduction to Python

  1. For Colab

    Question 1 of 2

    • Write a code to display Hello, Python!
    • Initialize a as -5 and b as 10.45
      1. Display their sum
      2. Display their difference
      3. Display their product
      4. Display their division
      5. Display their remainder
  2. For VS-Code

    Question 2 of 2

      Create a folder PythonBasics. Inside it create separate file for each questions
      1. Normal human temperature is 98.6 °F. Convert it to Celsius. C = (F - 32)/1.8
      2. Calculate simple interest for Rs. 50,000 at rate 6.5% p.a for 4 years. SI = PTR/100
      3. Calculate area & perimeter of circle with diameter 12 cm. A=πr², P=2πr
      4. Calculate the total seconds in 3 hours, 20 minutes and 45 seconds.
      5. Calculate the average of 5 subjects where marks are: 78, 85, 62, 90, 88.
      6. Convert the distance of 15 kilometers to miles. 1 km = 0.621371 miles
      7. Calculate the BMI for a person with weight 70 kg and height 1.75 m. BMI = wt / ht²)