Quick actions

cmd+k|ctrl+k

Navigation

Languages

Type Conversion

Snippet info

Language

Python

Visibility

public

Author

arnob

Created

2025-08-24T23:53:22.846919Z

Updated

2025-08-24T23:53:22.846919Z

print(type(str(100))) #(converting a number to a string)
print(type(int(str(500))))


a = str(100)
b = int(a)
c = type(b)
print(c)

#converting the type of our data types

INFO