Question: # 1.3 Data Types / Basic Python Operations # This cell should take three numbers: a, b and c # and then print: # '_a_

# 1.3 Data Types / Basic Python Operations 
# This cell should take three numbers: a, b and c # and then print: 
# '_a_ plus _b_ is equal to: _a + b_' # '_a_ minus _b_ is equal to: _a - b_' # '_a_ times _b_ is equal to: _a * b_' # '_a_ divided by _b_ is equal to: _a / b_' 

a = 10 b = '2'

mySum = a + b mySub = b - a myPro = a * a myDiv = a  b 
equal = is equal to 
operator = 'plus' print(a, operator, b, equal, mySum) operator = 'minus' print(a, operator, b, equal, mySum) print(a, operator, b, equal, mySum) print(a, operator, b, equal, mySum) 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!