@BroCodez

# type casting = The process of converting a value of one data type to another
#                          (string, integer, float, boolean)
#                          Explicit vs Implicit

name = "Bro"
age = 21
gpa = 1.9
student = True

# print(type(name))
# print(type(age))
# print(type(gpa))
# print(type(student)) 

age = float(age)
print(age)

gpa = int(gpa)
print(gpa)

student = str(student)
print(student)

name = bool(name)
print(name)

@joysticksforjesuschrist

I love how bro almost put his GPA as 4.0 and then backspaced 😂

@Jezza-u6t

This is absolutely insane. I understood moore about typecasting in 7 mins than university course. Brilliant!

@abdulhannan-18

Basically bool is to check whether that INPUT IS GIVEN OR NOT.

userinput = input("Your name: ")
userinput = bool(userinput)
print(userinput)

if user give any input then True if user does not give any input then False.

#code1

name = "Bro"
name = bool(name)
print(name)

True

#code2

name = ""             #empty string. As there is nothing that's why it will be false.
name = bool(name)
print(name)

False

@earth7641

I glad to see your channel grow and learning program from your channel, being game programmer is always my dream.

@abdulhannan-18

imp    Only strings can concatenate.

student = True

print(student)
print(type(student))

student = str(student)
print(student)
print(type(student))

print("Hello" + student)

True
<class 'bool'>
True
<class 'str'>
HelloTrue

@Afghanistanfutsalfans

Outstanding Explanation I have ever watched!

@joanneosborne2428

I appreciate your training approach; it's clear, enjoyable, and straightforward. Thank you for keeping it simple and to the point.

@MohyDev

I have always believed that education is the ultimate code to crack. Thanks to Bro Code, I have been able to unlock some of the most complex programming languages and computer science concepts with ease. Your videos have been instrumental in helping me level up my skills. So, from the bottom of my heart (and stack), thank you for being the best educational channel out there. Keep up the good work, Bro Code! Your dedication to educating the masses about programming languages and computer science has been truly inspiring. I would love to connect with you and learn more about your journey and how you became one of the best educational channels out there. again, thank you for being a constant source of knowledge and inspiration for us all. You're the real MVP, Most Valuable Programmer

@punchline1729

Just found this amazing Python playlist, thanks for your help

@LavenderBlack-f1g

Man, you have a special place in heaven. I love youuuuuuu the videos are amazing, seriously that's so nice. Aw man, hard to find people like you. Thank you❤

@tourakaianimation7766

I am watching your videos during the lectures because the professor is boring. The efforts you put into each video is incredible. 
Can you also make tutorials about MIPS assembly language?

@sunny34504

I can't believe that I found an easy way to learn python! I'm so grateful thankss a lott!!

@Runbirdie

Thank you for breaking everything down into such an easily understandable explanation!

@kingmorbcr1172

i love this channel

@soyozzz

Wow, i'm the first one here. Hello and thank you for the video!

@im_not_molhem

name = “Bro Code”
age = 22
rating = 100.0
useful = True

@user-ace96plays

NICELY DONE BRO...❤

@tongtruonghai331

3rd hello!!, all ur vids are good that's i got a improve in programming.

@WINDOWSUSER-q4s

NICELY DONE...❤