Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 
DogFood


Name the different type of conversion in Python?
Question Posted on 08 Nov 2021

Home >> Python Programming >> Python Questions >> Name the different type of conversion in Python?




Name the different type of conversion in Python?
In python conversion means converting one data type to another data type.
(1)int():-We use int() to convert any data type into integer type.
(2)hex():-We use hex() to convert integers into hexadecimal.
(3)Complex(real,image):-We use this to convert real numbers into a complex number.
(4)ListList():-We use this to convert any of the data type to a list type.
(5)dict():-We use this for the conversion of a tuple of order into a dictionary.
(6)float():-We use this to convert any of data type to float typeset(). And it is used to convert nature into the set.
(7)ord():-We use to converts charcters into integer.
(8)oct():-We use this to convert and integer into octal.
(9)str():-We use this to convert an integer into a string.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Program to check sequence is palindrome or not?
Can you define Memory Management in Python?
Can you define dictionary in Python?
Can you please mention some builtin Data Types in Python?
Write a code to read JSON file and print data of JSON in Python?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |