Click here to Skip to main content
15,883,758 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
1 def csd():
2 print("python function")
3
return "csd"
4 T
5 x=csd()
6 print (x)
What will be the output of above
program?


What I have tried:

please help me doing thes question
Posted
Updated 11-Oct-21 4:11am
Comments
Richard Deeming 11-Oct-21 10:01am    
You haven't asked a question; you've just dumped your homework assignment and are expecting someone to do your work for you.

And even if someone here was willing to do your work for you - which we're not - you've mangled the code block to the point where the question cannot be answered.

Do your own work. If you really don't know where to start, then talk to your teacher.

As written? Nothing other than an error message because line 2 is not indented at all, and python relies on indentation to tell it where blocks of code start and stop.

See here: Python Indentation[^]
 
Share this answer
 
Nope. We're not here to do your homework for you.

The purpose of the assignment is to see if YOU understand what each of those statements does.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900