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, 2019 in Python by Amit

edited May 17, 2019 by Omkar 2,346 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, 2019 by Omkar
• 69,060 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, 2019 in Python by Arvind
• 2,980 points
100 views
+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
• 57,530 points
11,456 views
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,760 points
156 views
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,250 points
83 views
+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, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 963 views
0 votes
0 answers
0 votes
0 answers

How do you install spyder on anaconda?

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

Jul 24, 2019 in Python by Waseem
• 4,530 points
82 views
0 votes
1 answer