Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Learn type casting in 7 minutes! ๐Ÿ’ฑ
Play lesson

Python tutorial for beginners ๐Ÿ - Learn type casting in 7 minutes! ๐Ÿ’ฑ

4.0 (0)
8 learners

What you'll learn

This course includes

  • 14.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

# 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) 00:00:00 what is type casting? 00:01:24 type function 00:02:23 explicit cast 00:06:17 implicit cast #type #cast #casting

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere