How to run a Function in Spyder and check output?

0 votes
I have written few functions in Syder and saved it as .py file . Functions have return statement.

now if I call the function it runs successfully and output does not appear in Syder Console.

Kindly help
May 16 in Python by Amit

edited May 17 by Omkar 526 views

1 answer to this question.

0 votes

You will see the output of the Python script in the Sypder console. Refer to the screenshot below:

answered May 17 by Omkar
• 67,660 points

Related Questions In Python

0 votes
1 answer

How to check whether something is a variable or a function in Python?

Suppose you have a variable defined in ...READ MORE

answered Jul 30 in Python by Arvind
• 2,960 points
+1 vote
1 answer

How to check if a string is null in python

Try this: if cookie and not cookie.isspace(): # the ...READ MORE

answered Aug 20, 2018 in Python by Priyaj
• 56,940 points
0 votes
1 answer

Is there a foreach function in python and is there a way to implement it if there isnt any

Every occurence of "foreach" I've seen (PHP, ...READ MORE

answered Aug 31, 2018 in Python by charlie_brown
• 7,720 points
0 votes
1 answer

How to use a global variable in function?

The global variable can be used in ...READ MORE

answered Sep 27, 2018 in Python by SDeb
• 13,190 points
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 351 views
0 votes
0 answers

How do you install spyder on anaconda?

Is there a way to work with ...READ MORE

Jul 24 in Python by Waseem
• 4,470 points
0 votes
1 answer