Python Programming Tutorial - 8: Data Type Conversion

preview_player
Показать описание
In this tutorial we'll check out some built in methods to convert values from one data type to another.
Рекомендации по теме
Комментарии
Автор

the bad tutorials aren't bad at all.
I am learning so much!

debajyotisg
Автор

ASCII is pronounced ASKEY, th anks for the tutorials anyway, good job

bimblebom
Автор

How to convert list or tuple data to a string ?

Anshie
Автор

Can't we just use
>>> my_string="9500"
>>> my_string[0]

Instead of converting the data type. Or is there an advantage?

mamc
Автор

Am unable to call str method from python terminal.
>>> my_str=str(9500)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'str' object is not callable

dellikbabu
Автор

Can you please tell me how to convert the output to HTML format or XML format

s.m.ehsanulamin
Автор

i can''t use my_string data type conversion in python 3.6.1, please help

mrb
Автор

WOW "What a bad tutorial"
May be I took it literally!

moyesmagic
Автор

while i am trying to change int to str as you show, i am getting error message

my_string=str(98374987)
Traceback (most recent call last):
  File "<pyshell#67>", line 1, in <module>
    my_string=str(98374987)
TypeError: 'str' object is not callable

milindsoman
Автор

You talk fast. Next time, slow down. Give people time to let your words come in.

TheSunshinefee