Type Conversion in Python | Chapter-3 | Class-9 | O'Level M3-R5.1 Tutorial in Hindi | #zedking

preview_player
Показать описание
In this quick tutorial, we cover the basics of type conversion in Python. Learn how to use functions like int(), float(), and str() to convert between different data types, and discover tips to avoid common errors.
Perfect for beginners and those looking to refresh their skills!
Don't forget to like and subscribe for more programming tips.

#zedking #olevel #python #olevel #education #zedkingkaithal #m3r5_olevel #typeconversion #pythoninhindi #pythonprogramming #olevel #olevelm3 #trending #explore
Рекомендации по теме
Комментарии
Автор

1)a=int(12.0)
Print(a)
12
Print(type(a))
<Class 'int'>
2)a=int("123")
b=456
c=a+b
print(c)
579
Print(type(c))
<Class 'int'>
Type conversion = explicit

AnuMehla-vhnb
Автор

a=int(12.0)
Print(a)
Print(type(a)
Answer.
12
<Class "int">

piyushpanwarGurjar
join shbcf.ru