Answers for "typer nos variables en python"

1

typage in python

# for a string named str1
str1: str = "this is a string"
#for an int named toto
toto: int
#and it works for every types (str, int, floats, dict...)
Posted by: Guest on May-25-2020
1

type de variable python

a=int(5)
b=float(5.6)
c=str("Hello world!")
Posted by: Guest on February-24-2020

Python Answers by Framework

Browse Popular Code Answers by Language