A python program to find sum and product of two numbers ||

Опубликовано: 28 Сентябрь 2024
на канале: learn_programming_1200
171
6

In this program, we use the input() function to prompt the user for two numbers. We then convert these inputs to floating-point numbers using the float() function, since the inputs will be treated as strings by default.
We then calculate the sum and product of the two numbers using the + and * operators, respectively. Finally, we use the print() function to display the results to the user.

Subscribe My Channel

#learn_programming_1200 #coding #python #youtubeislife #subscriber #youtubeguru #youtubecontent #newvideo #subscribers #youtubevideo #youtub #youtuber #youtubevideos