Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

def sum(a,b) print (a+b) return word def word(a,b) print (a,b) return sum In a while i have to run the word function. For the first

def sum(a,b) print (a+b) return word

def word(a,b) print (a,b) return sum

In a while i have to run the word function. For the first turn my function prints a,b but for my second turn i donot want a,b i want the function sum to run.

That is my code should be like this 2 0 5 4 3 10 Not 2 0 2 3 4 3 4 6

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Technology

Authors: Suad Alagic

1st Edition

354096276X, 978-3540962762

More Books

Students also viewed these Databases questions

Question

Aspect 3: Current Asset liquidity Ratios Discussion

Answered: 1 week ago

Question

1. Explain the 2nd world war. 2. Who is the father of history?

Answered: 1 week ago

Question

What roles have these individuals played in your life?

Answered: 1 week ago