Our topic of today is a "PRINT FUNCTION" in python.

#SSOT #PYTHON #pythonlearning #Python #pythonprogramming #CyberSecurity #softwaredevelopment
In Python, the command print tells the program to display words or numbers on the screen. Here's a line of code that tells Python to display the words “Hello, World!”

print("Hello, World!")
print is a keyword—that is, a word that has special meaning for Python. It means, "Display what’s inside the parentheses." Note that print isn't capitalized. If you capitalize it, the program won’t run.
parentheses are a special requirement of Python, one that you'll soon get used to. You'll be typing parentheses over and over again, in all kinds of Python statements.
In coding, the quoted text in the line above—"Hello, World!"—is called a text string or simply a string. The name makes sense: it's a string of characters.
When Python displays a string on the screen, the quotation marks don't display. They’re only in your code to tell Python that it’s dealing with a string.
Note that the opening parenthesis is jammed up against the keyword print, and the opening quotation mark is hugging the opening parenthesis. You could space it out, writing...
print ( "Hello, World!" )
But I want you to learn the style conventions of Python, so I'll ask you to omit spaces when it’s the conventional thing to do.
@threadreaderapp unroll please

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with South Sudan IT community 🇸🇸

South Sudan IT community 🇸🇸 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @SsdIct

12 Sep
Today we are going to talk about "DATA TYPES IN PYTHON"
Just follow the thread till the end.

#pythonprogramming #pythonlearning #SSOT #python
What is data type in python programming?

In python programming, a data type is an attribute of data which tells the compiler or interpreter how the programmer intends to use the data.
In python programming, data type is an important concept.

Variables can store data of different types, and different types can do different things.

Python has the following data types built-in by default, in these categories:
Read 12 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(