May-25-2020, 12:46 AM
Hey all i've started with python 3 after using C for more than 2 years. Quick question, are the parenthesis normal after running this script? How would I eliminate them? Thanks?
#!/usr/bin/python3 def first_three_multiples (num): times_1 = num * 1 times_2 = num * 2 times_3 = num * 3 return times_1, times_2, times_3 print (first_three_multiples (7)) # output 7, 14, 21Program output:
(7, 14, 21)