price = 10.5
print(price)
#source code --> clcoding.com
Explanation:
price = 10.5: This line creates a variable named price and assigns it the floating-point value 10.5.
print(price): This line prints the value stored in the price variable to the console.
Output:
10.5
0 Comments:
Post a Comment