loader

Let's learn Python Programming in easy ways.

Explore more

Start your python journey today

267
53
67
89

Today's question

Can you solve this ?
Question.

What is the output of the following code ?

x = 27
def foo(a, b=x):
    print(a,b)
x = 24
foo(7)

Options:

Get the answer and explanation
The Theory :

Function Arguments

Positional Arguments def company(name, year, state, country): print(name, year, state, country) company("pythoneasy", 2018, "California", "US") pythoneasy 2018 C ...

Read more

Python MCQ Quiz

Beginners can practice 300 + Python topic wise MCQ questions which will enhance the command on a particular topic. Experienced pythonistas can start testing their knowledge.

Start now

How To

Code Snippets which helps in your project. Very much desirable for Python Professionals

Start now

Python Fundamental questions with answers

Topic wise fundamental Python questions with answers which will clear your fundamentals and will help you in interviews

Start now

What People Say about PythonEasy

Subscribe to Our Newsletter

Sign Up to our Newsletter to get the latest updates.

TOP