If I have:
`my_float = 1.5`
`my_int = 1`
How do I print "[float] is larger than [int]"
in Python?
If I have:
`my_float = 1.5`
`my_int = 1`
How do I print "[float] is larger than [int]"
in Python?
For example:
name = "Sven
age = 20
city = "a house"
print("Hello, your name is {name}, you are {age} years old and you live in {city}".format(name=name, age=age, city=city)
Will output:
Hello, your name is Sven, you are 20 years old and you live in a house.