First Python Program: Modified “Hello, World!” – CSKC
Sign In

Search

Code Learning #PYTHON#9996    siteicon   siteicon  

First Python Program: Modified “Hello, World!”

You have traditionally seen printing of “Hello World!” string as the first program in many languages. Some more tricks are here in your first program itself.

Source Code

TC++ #9996

Source Code

×

Ask AI About This Code

Default Prompt that is passed along with the code is given below, You can write your own prompt if you so desire.



×

Test Python

Notes

  • The + sign can be used in string for concatenation (side by side addition)
  • The semicolon (;) character as line terminator is usable in python, but it is highly discouraged.
  • The print() function in python gives the newline automatically. For this reason the \n symbol may not be found so frequently in python. Still, it is a valid escape sequence within strings.


Suggested Filename(s): modif-hello-world.py, hello.py



Share

Created: 19-Aug-2026 16:26 | Updated: 17-Sep-2026 02:20|