Casting

From wikieduonline
Revision as of 01:39, 3 March 2022 by Welcome (talk | contribs) (Created page with " Python x = str(3) # x will be '3' y = int(3) # y will be 3 z = float(3) # z will be 3.0 Variables")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Python

x = str(3)    # x will be '3'
y = int(3)    # y will be 3
z = float(3)  # z will be 3.0


Variables

Advertising: