• Learn
    • Courses
    • Career Tracks
    • Projects
    • Upcoming Courses
  • Certificates
    • Career Track Certificate
    • Course Certificate
  • Resources
    • All Resources
    • Course Notes
    • Templates
    • Infographics
    • Career Guides
    • Practice Exams
    • Blog
    • Reviews
    • Success Stories
    • Flashcards
    • Calculators
    • Interview Simulator
  • Pricing
  • Corporate Training
  • Login
  • Sign Up
Log In Sign Up
Follow this topic
Share
Satthya Narayanan
Last answered:

07 Nov 2022

Posted on:

25 Oct 2021

0

why can't we use the sum function as it is used in product solution

in Python Programmer Bootcamp / Question 4

why can't we use sum=num_1+num_2
but we used product=num_1*num_2

1 answers ( 0 marked as helpful)
Abdallah Hussein Refaey
Posted on:

07 Nov 2022

0

Absolutely you can use the same way. it depends on your code and its efficiency and if you will reuse it again or not.

Submit an answer

GET

World-Class

Data Science

Courses

Learn with instructors from:

4.9/5

related questions

Glen Walters
2
14
Why we add 5 specifically at 1:46?
Dr Hosam ElDien Ali Mohamed Shohayeb
0
12
I get a crash whenever I try to input a string instead of a number in Q1. How can I solve this?
Carl Angelo Catchola
1
12
How did it go with your solution?
Mohamed Abd Elrahman, CSCA
0
10
Resolved: Max function, error in console
Ferdinand Abija
0
10
Why is my table returning an error?
Ferdinand Abija
0
10
I need help, why do i Have this error
Matt Birch
1
10
Can't even get started in Visual Studio.
Daniel Dong Yoon Kim
0
8
About print function appearing on a new line (from 10:10 of this video)
Juan Guevara
2
8
Wrong code for Fibonacci Bumbers, why?
Ayush Gupta
0
8
why is my jupiter notebook showing this error
Arnaldo Novoa
0
6
Why he used a 5 for the pizzas
Muhammad Maaz
0
6
whenever i click on a practice test it generate a alert to use destop tools like jupyter.....am alre

All the Data Science Courses You Need

About

  • About Us
  • Meet the Instructors
  • Become an Instructor
  • Contact Us
  • Pricing

Learn

  • Courses
  • Career Tracks
  • Career Certificate
  • Course Certificate

Resources

  • Course Notes
  • Templates
  • Career Guides
  • Practice Exams
  • Calculators
  • Flashcards
  • Blog

Platform

  • Success stories
  • Q&A Hub
  • Help Center
  • Verify Certificate

Business

  • Corporate Training
  • Team Plan
  • Live Training

Business

  • Corporate Training
  • Team Plan
  • Live Training
© 2025 365 Data Science. All Rights Reserved.
Sitemap Terms of Use Privacy Policy Cookies