Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,587 members, 7,809,124 topics. Date: Friday, 26 April 2024 at 12:13 AM

Introduction To Python Tutorial - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Introduction To Python Tutorial (773 Views)

Nairaland Should Switch To Python/django. Opinion / Python Tutorial Group / New To Python, Gurus Please Help Solve These Challenges. Thanks. (2) (3) (4)

(1) (Reply)

Introduction To Python Tutorial by Venzee(m): 12:29pm On Aug 16, 2019
shockedshocked


Introduction
Hello, World!
Python is a very simple language, and has a very straightforward syntax. It encourages programmers to program without boilerplate (prepared) code. The simplest directive in Python is the “print” directive – it simply prints out a line (and also includes a newline, unlike in C).

Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.


Python is Interpreted – Python is processed at runtime by the interpreter. You do not need to compile your program before executing it. This is similar to PERL and PHP.

Python is widely used in Artificial Intelligence, Natural Language Generation, Neural Networks and other advanced fields of Computer Science. Python had deep focus on code readability & this class will teach you python from basics. So if you want to start learning AI or deep learning. Learning python is a great start !


To print a string, just write:

print ("Hello World!"wink

Note: Copy and Paste Code into Compiler
Open Compiler

Readability
Python is all about ease. It is a very readable language. Python has Python uses indentation for blocks, instead of curly braces. Both tabs and spaces are supported, but the standard indentation requires standard Python code to use four spaces.

For example:


a=0
def printfnc():
print (a)
printfnc()

Learn python for free. Just hit the link below
https://idreamng.com/category/software-programming/

1 Like

(1) (Reply)

Urgent !!!! Get In Here / Come Let Me Teach You How To Show Ads On Your Earning App / I Need Directions Please!!!

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.