Python Assignments
  • Python Assignments
  • Operators Assignment
  • User Input Assignments
  • String Assignments
  • Conditional Statements - Assignments
  • Loops - Assignments
  • List Assignments
  • Function Practice Questions
  • File Handling Assignments
  • Miscellaneous Python Assignments
Powered by GitBook
On this page

Python Assignments

NextOperators Assignment

Last updated 2 years ago

Data Types :

  1. Find Data of 34.57 .

Solution

type(34.57)

2. String is a collection of characters enclosed within __________

  • Single Quotes (' ')

  • Double Quotes (" ")

  • Triple Quotes (''' ''') or (""" """)

  • Any of the above

Solution

Any of the above

3. What is the right Order of Data Types of Values ?

3

'python'

'@#$'

'3.5'

7.4

'True'

False

Solution

Integer (int)

String (str)

String (str)

String (str)

float (float)

String (str)

boolean (bool)

Type