<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title>Bing: How to Print a Return Value in Python</title><link>http://www.bing.com:80/search?q=How+to+Print+a+Return+Value+in+Python</link><description>Search results</description><image><url>http://www.bing.com:80/s/a/rsslogo.gif</url><title>How to Print a Return Value in Python</title><link>http://www.bing.com:80/search?q=How+to+Print+a+Return+Value+in+Python</link></image><copyright>Copyright © 2026 Microsoft. All rights reserved. These XML results may not be used, reproduced or transmitted in any manner or for any purpose other than rendering Bing results within an RSS aggregator for your personal, non-commercial use. Any other use of these results requires express written permission from Microsoft Corporation. By accessing this web page or using these results in any manner whatsoever, you agree to be bound by the foregoing restrictions.</copyright><item><title>How to print a returned value in Python - Stack Overflow</title><link>https://stackoverflow.com/questions/47607515/how-to-print-a-returned-value-in-python</link><description>2 See the problem is you are not returning anything from the start function , again Python follows a indentation level i.e anything written on the first level (line with no space will be executed first ), remove the line print line from the top and modify the start function to return the value :</description><pubDate>Wed, 01 Apr 2026 16:38:00 GMT</pubDate></item><item><title>python - Printing return value in function - Stack Overflow</title><link>https://stackoverflow.com/questions/45123559/printing-return-value-in-function</link><description>Adjust your total function and assign the value that sums returns to a variable, in this case response for more clarity on the difference to the variable result defined in the scope of the sums function. Once you have assigned it to a variable, you can print it using the variable.</description><pubDate>Thu, 02 Apr 2026 05:24:00 GMT</pubDate></item><item><title>Your Guide to the Python print() Function – Real Python</title><link>https://realpython.com/python-print/</link><description>Learn how Python's print() function works, avoid common pitfalls, and explore powerful alternatives and hidden features that can improve your code.</description><pubDate>Fri, 03 Apr 2026 11:14:00 GMT</pubDate></item><item><title>How to Print the output of a Function in Python - bobbyhadz</title><link>https://bobbyhadz.com/blog/python-print-output-of-function</link><description>The sort() method returns None, so the variable stores a None value. There is a convention in Python for methods that mutate an object in place (directly) to return None. In this case, we can't print the output of the function when we call it. Instead, we should print the object after it has been mutated.</description><pubDate>Mon, 30 Mar 2026 20:37:00 GMT</pubDate></item><item><title>12.13. ‍ Print vs. return — Foundations of Python Programming</title><link>https://runestone.academy/ns/books/published/fopp/Functions/Printvsreturn.html</link><description>The print statement is fairly easy to understand. It takes a python object and outputs a printed representation of it in the output window. You can think of the print statement as something that takes an object from the land of the program and makes it visible to the land of the human observer.</description><pubDate>Tue, 31 Mar 2026 21:11:00 GMT</pubDate></item><item><title>Print Vs Return in Python: The Ultimate Showdown</title><link>https://www.pythonpool.com/print-vs-return-in-python/</link><description>print in python Python’s print statement is used to solve two purposes: To display output on the screen To debug the code by checking a variable’s value Print’s return type It has no return type. It directly outputs the code to the screen. Working Let’s have a look at the working of print in Python. The given example prints ‘Pythonpool’ with the help of a function, func.</description><pubDate>Tue, 31 Mar 2026 15:42:00 GMT</pubDate></item><item><title>The difference between return and print in Python</title><link>https://www.pythonmorsels.com/print-vs-return/</link><description>The value of x is None, which is the default function return value. What's going on here? The Python REPL prints automatically The place where you're able to type code and then immediately see a result is called the interactive Python interpreter, or the Python REPL. REPL stands for: Read, Evaluate, Print, and Loop, and that's how the REPL works. The Python REPL: Reads the statement you've ...</description><pubDate>Mon, 30 Mar 2026 03:33:00 GMT</pubDate></item><item><title>The Python Return Statement : Usage and Best Practices</title><link>https://pythongeeks.org/python-return-statement/</link><description>The usage and best practices of the Python return statement. The return statement allows us to exit a function and pass back a specific result.</description><pubDate>Thu, 02 Apr 2026 17:06:00 GMT</pubDate></item><item><title>Asking for help understanding the difference between return and print ...</title><link>https://discuss.python.org/t/asking-for-help-understanding-the-difference-between-return-and-print-in-function/48498</link><description>Second, there is a difference between print and return. return is a Python instruction, it is part of the language. On the other hand print is a normal function, just like the get_formatted_name, just provided “for free” by the Python interpreter.</description><pubDate>Sun, 29 Mar 2026 13:50:00 GMT</pubDate></item><item><title>Top 4 Ways to Capture Python Script Output in a Bash Script …</title><link>https://www.sqlpey.com/python/top-4-ways-to-capture-python-script-output-in-a-bash-script/</link><description>Learn how to effectively store the return value of a Python script in a Bash script, along with practical code examples.</description><pubDate>Thu, 02 Apr 2026 00:31:00 GMT</pubDate></item></channel></rss>