Question: using python Write an expression that will print Dollar or more if the value of num_cents is at least a dollar (100 cents is a
using python
Write an expression that will print "Dollar or more" if the value of num_cents is at least a dollar (100 cents is a dollar). Ex: If num_cents is 109, output is "Dollar or more".
num_cents = 109 if ''' Your solution goes here ''': print('Dollar or more') else: print('not a dollar')
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
