PYnative

Python Programming

  • Learn Python
  • Exercises
  • Quizzes
  • Code Editor
  • Tricks
Home » Python » Basics

Python Basics

Click on each tutorial to study it in detail.

Python Operators

Learning the operators is an excellent place to start to learn Python.

Python has seven types of operators that we can use to perform different operations.

Python Variables

A variable is a reserved memory area (memory address) to store value.

Learn to create, modify, delete variables.

Python Data Types

Data types specify the different sizes and values that can be stored in the variable. For example, Python stores numbers, strings, and a list of values using different data types.

Lear different types of Python data types

Python Casting

Learn Python Type Conversion and Type Casting. Convert variables declared in specific data types to the different data types.

Python Control Flow

Flow control is the order in which statements or blocks of code are executed at runtime based on a condition.

Learn Conditional statements, Iterative statements, and Transfer statements

Python Range()

Python range() function generates the immutable sequence of numbers starting from the given start integer to the stop integer.

Python Input and Output

This guide on Python input and output lets you know how to get input from the user, files, and display output on the screen, console, or write it into the file.

Python Number

Learn to work with numerical data in Python. Learn numerical data types.

Also learn Math module, Decimal, and Fraction modules in detail.

Python Lists

Learn List type in detail. List methods and operations. Adding, modifying, and deleting elements in the list.

Also, learn how to iterate the list and access the elements in the list in detail. Also, learn nested lists and List comprehension.

Python Tuples

Learn how to use a tuple data structure in Python. Also, learn how to create, access, and modify a tuple in Python and all other operations we can perform on a tuple

Python Sets

In Python, a Set is an unordered collection of data items that are unique.

Learn Set data structure in general, different ways of creating them, and adding, updating, and removing the Set items. We will also learn the different set operations.

Python Dictionaries

Dictionaries are unordered collections of unique values stored in (Key-Value) pairs.

Learn how to create, access, and modify a dict in Python and all other operations we can perform on a dictionary.

Python Functions

In Python, the function is a block of code defined with a name. We use functions whenever we need to perform the same task multiple times without writing the same code again. It can take arguments and returns the value.

Python Modules

In Python, modules refer to the Python file, which contains Python code like Python statements, classes, functions, variables, etc. A file with Python code is defined with extension.py

Python Exercise for Beginners

This Python essential exercise is to help Python beginners to learn necessary Python skills quickly.

Practice Python Basic Concepts such as Loops, Control structure, List, Strings, input-output, and built-in functions.

Python Quiz For Beginners

This Quiz is for beginners who are new to Python Programming. This quiz provides Multiple Choice Questions to get familiar with Python.

The quiz focuses on testing your basic skills on Python essential functions, string, operators, functions, set, and lists questions.

All Python Basics Tutorials: -

Python Exceptions and Errors

Updated on: March 25, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python Functions

Updated on: March 18, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python Modules

Updated on: March 18, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python Casting: Type Conversion and Type Casting

Updated on: March 18, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python Control Flow Statements and Loops

Updated on: March 18, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python Operators

Updated on: March 18, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python Lists

Updated on: April 9, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Sets in Python

Updated on: April 16, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python Numbers

Updated on: March 18, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Tuples in Python

Updated on: April 9, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Dictionaries in Python

Updated on: April 16, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python Data Types

Updated on: March 18, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python Variables

Updated on: March 18, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python Dictionary Exercise with Solutions

Updated on: March 9, 2021 | Python Tags: Basics Python Python Exercises

TweetF  sharein  shareP  Pin

Python Tuple Exercise with Solutions

Updated on: March 9, 2021 | Python Tags: Basics Python Python Exercises

TweetF  sharein  shareP  Pin

Python Set Exercise with Solutions

Updated on: April 11, 2021 | Python Tags: Basics Python Python Exercises

TweetF  sharein  shareP  Pin

Python if else, for loop, and range() Exercise with Solutions

Updated on: March 9, 2021 | Python Tags: Basics Python Python Exercises

TweetF  sharein  shareP  Pin

Python Functions Exercise

Updated on: March 18, 2021 | Python Tags: Basics Python Python Exercises

TweetF  sharein  shareP  Pin

Python Input and Output Exercise

Updated on: March 9, 2021 | Python Tags: Basics Python Python Exercises

TweetF  sharein  shareP  Pin

Python List Exercise with Solutions

Updated on: March 9, 2021 | Python Tags: Basics Python Python Exercises

TweetF  sharein  shareP  Pin

Python List Quiz

Updated on: March 9, 2021 | Python Tags: Basics Python Quizzes

TweetF  sharein  shareP  Pin

Python Set Quiz

Updated on: March 9, 2021 | Python Tags: Basics Python Quizzes

TweetF  sharein  shareP  Pin

Python Dictionary Quiz

Updated on: March 9, 2021 | Python Tags: Basics Python Quizzes

TweetF  sharein  shareP  Pin

Python Tuple Quiz

Updated on: March 9, 2021 | Python Tags: Basics Python Quizzes

TweetF  sharein  shareP  Pin

Python Numbers Quiz

Updated on: March 9, 2021 | Python Tags: Basics Python Quizzes

TweetF  sharein  shareP  Pin

Python Flow Control ( If Else and Loops) Quiz

Updated on: March 9, 2021 | Python Tags: Basics Python Quizzes

TweetF  sharein  shareP  Pin

Python Operators and Expression Quiz

Updated on: March 9, 2021 | Python Tags: Basics Python Quizzes

TweetF  sharein  shareP  Pin

Python Functions Quiz

Updated on: March 18, 2021 | Python Tags: Basics Python Quizzes

TweetF  sharein  shareP  Pin

Python Input and Output Quiz

Updated on: March 9, 2021 | Python Tags: Basics Python Quizzes

TweetF  sharein  shareP  Pin

Python String Quiz

Updated on: March 9, 2021 | Python Tags: Basics Python Quizzes

TweetF  sharein  shareP  Pin

Python Variables and Data Types Quiz

Updated on: March 9, 2021 | Python Tags: Basics Python Quizzes

TweetF  sharein  shareP  Pin

Python isinstance() function explained with examples

Updated on: March 18, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Basic Python Quiz For Beginners

Updated on: April 1, 2021 | Python Tags: Basics Python Quizzes

TweetF  sharein  shareP  Pin

Python Data Structure Exercise for Beginners

Updated on: March 9, 2021 | Python Tags: Basics Python Python Exercises

TweetF  sharein  shareP  Pin

Python String Exercise with Solutions

Updated on: March 9, 2021 | Python Tags: Basics Python Python Exercises

TweetF  sharein  shareP  Pin

Python Basic Exercise for Beginners

Updated on: April 1, 2021 | Python Tags: Basics Python Python Exercises

TweetF  sharein  shareP  Pin

Python random randrange() and randint() to generate random integer number within a range

Updated on: March 9, 2021 | Python Tags: Basics Python Random

TweetF  sharein  shareP  Pin

Python program to calculate sum and average of first n natural numbers

Updated on: March 18, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python Programs to Print Pattern – Print Number, Pyramid, Star, Triangle, Diamond, and Alphabets Patterns

Updated on: March 18, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Check user input is a number or string in Python

Updated on: March 18, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python Take list as an input from a user

Updated on: March 18, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python Input: Take Input from User

Updated on: April 8, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python range of float numbers

Updated on: April 13, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

Python range() Explained with Examples

Updated on: April 18, 2021 | Python Tags: Basics Python

TweetF  sharein  shareP  Pin

About PYnative

PYnative.com is for Python lovers. Here, You can get Tutorials, Exercises, and Quizzes to practice and improve your Python skills.

Explore Python

  • Learn Python
  • Python Basics
  • Python Databases
  • Python Exercises
  • Python Quizzes
  • Online Python Code Editor
  • Python Tricks

Follow Us

To get New Python Tutorials, Exercises, and Quizzes

  • Twitter
  • Facebook
  • Sitemap

Legal Stuff

  • About Us
  • Privacy Policy
  • Cookie Policy
  • Terms Of Use
  • Contact Us
DMCA.com Protection Status

Copyright © 2018-2021 · [pynative.com]

This website uses cookies to ensure you get the best experience on our website.Privacy PolicyGot it!