Week 2 Programming Assignment 2
x,y = input().split(" ") //taking inputs from the user and split is used to seperate the two nos
x = int(x) //converting x to integer type
y = int(y) //converting y to integer type
print(x*y) //printing product of x and y by using * operator
Input      Output
3*4           12
5*3           15
Comments
Post a Comment