(S1c1) Data Types Of Python Part 1

15 Questions | Total Attempts: 58

SettingsSettingsSettings
Please wait...
(S1c1) Data Types Of Python Part 1

Read the questions very carefully and use PyCharm to solve these problems. Best of luck


Questions and Answers
  • 1. 
    Write a program code to print the type of 12
  • 2. 
    Write a program code to print the type of "123"+"123"
  • 3. 
    Write a program code to print the type of 12.5+12.5
  • 4. 
    Write a program code to print the type of(12+ 12)*(12)
  • 5. 
    What is an output of the following program code:num1 = 5num2 = 8print(type(num1 + num2))
  • 6. 
    What is an output of the following program code:num1 = 8num2 = 9print(type(num1*num2))
  • 7. 
    What is an output of the following program code:num1 = 5num2 = 2print(type(num1/num2))
  • 8. 
    What is an output of the following program code: num1 = 55.5num2 = 5print(type(num1 + num2))
  • 9. 
    What is an output of the following program code:num1 = 2num2 = 3print(type(num1**num2))
  • 10. 
    What is an output of the following program code:num1 = 345num2 = 390print(type(num1//num2))
  • 11. 
    What is an output of the following program code:num1 = 25num2 = 8print(type(num1 % num2))
  • 12. 
    What is an output of the following program code:num1 = 11num2 = 48print(type(num1*num2//num1))
  • 13. 
    What is an output of the following program code:num1 = 5num2 = 8num3=6print(type(num1 *(num2-num3)))
  • 14. 
    What is an output of the following program code:num1 = 10num2 = 12num3 = 64print(type((num1-num2)**(num2-num1)//num3))
  • 15. 
    What is an output of the following program code:num1 = 5num2 = 3print(num1**num2)
Back to Top Back to top