DDSRY Profile picture
Jun 25, 2020 4 tweets 3 min read
What is type conversion in Python?

▪ Type conversion refers to the conversion of one data type into another.

int() – converts any data type into integer type

float() – converts any data type into float type

ord() – converts characters into integer

hex() – converts integers to hexadecimal

oct() – converts integer to octal

tuple() – This function is used to convert to a tuple.

set() – This function returns the type after converting to set.

list() – This function is used to convert any data type to a list type.

dict() – This function is used to convert a tuple of order (key,value) into a dictionary.

str() – Used to convert integer into a string.

complex(real,imag) – This functionconverts real numbers to complex(real,imag) number.

#Python #Type #conversion #tutorial #100DaysOfCode

• • •

Missing some Tweet in this thread? You can try to force a refresh

Keep Current with DDSRY

DDSRY Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!


Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @DDSRY21

Jun 20, 2021
When you're in bad phases or days, everyone (surrounding peoples and relatives) will say you to do this and do that, and you also get trolled.

But, when you're in good phases or days, everyone one will be like "SHUT UP" no one will talk you and tell you to do something to get 👇
more in life, but the reality is they ask you for HELP.

But I want to know that why someone told previously that you are not going to be good or have a good life.

Let me tell you.

If you're in bad phases or days, your GOOD days 💯% will come.


If you are in Good Phases👇
Good days then work hard like never to get bad days.

Do these things:

1. Say Thank you to GOD.
2. Help others.
3. Don't show off.
4. Share if you have more.
5. Help those who actually need help.
6. Be humble.
7. Share your happiness with you loved ones (Family, Teachers,👇
Read 5 tweets
Aug 20, 2020
5 Reasons to Learn Python:

1. Easy to Learn.😀

2. Versatility:

▪ You can use it for, 🌐Web Developement, 📊Data Science, 💻Machine Learning, Computer 🔎Vision, 📈Data Analysis and Visualization, Scripting, 💻Gaming and in Robotics.

3. High Salaary.💰

4. Scalability:
▪ It is extremely 👊powerful that you can build real-world🌐 applications.

5. Job Market:

▪ High📈 Demand and 📉Low Supply of Python🐍 Developer.💻

▪ Python is number 1 Programming language for ML and AI.

▪ By Learning Python you are actually investing💰 in your future.
Read 4 tweets

Did Thread Reader help you today?

Support us! We are indie developers!

This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!


0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy


3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!