Skip to content
  • Blog (1)
  • About Us
  • Tags
  • Donations
1SMARTchicken - Code Made Easy
  • Tutorials (183)
  • Reference (2172)
  • Snippets (69)

Category: Python Tutorials

1SMARTchicken - Code Made Easy

Category: Python Tutorials

  • Tutorials (183)
  • Reference (2172)
  • Snippets (69)
  • Blog (1)
  • About Us
  • Tags
  • Donations
1SMARTchicken - Code Made Easy
  • Tutorials (183)
  • Reference (2172)
  • Snippets (69)
1SMARTchicken - Code Made Easy

Category: Python Tutorials

  • Tutorials (183)
  • Reference (2172)
  • Snippets (69)
  • Home
  • Tutorials
  • Python Tutorials
Python Tutorials

Python – The Programming Language

July 24, 2024 / Python Tutorials, Tutorials

Python is a popular programming language created by Guido van Rossum, and released in 1991.

Python Tutorials

Python – Comments

July 27, 2024 / Python Tutorials, Tutorials / Comment

Comments can be used to explain Python code, make the code more readable, or prevent execution when testing code since they are ignored when running.

Python Tutorials

Python – The Basics of Variables

August 2, 2024 / Python Tutorials, Tutorials / Variable

Variables are containers for storing data values. Python has no command for declaring a variable, instead creating it when you first assign a value to it.

Python Tutorials

Python – Variable Names

July 29, 2024 / Python Tutorials, Tutorials / Variable

Variables can have a short names (like x and y) or a longer, more descriptive name (like age, firstname, phone_number).

Python Tutorials

Python – Assigning Multiple Values to Variables

July 28, 2024 / Python Tutorials, Tutorials / Variable

Python allows you to assign values to multiple variables in one line or the same value to multiple variables in one line.

Python Tutorials

Python – Outputting Variables Using the print() Function

July 29, 2024 / Python Tutorials, Tutorials / Variable

The Python print() function can be used to output the value of variables.

Python Tutorials

Python – Global Variables and the Global Keyword

July 30, 2024 / Python Tutorials, Tutorials / Variable

Python Global variables can be used both inside and outside of functions. While a variable created inside a function can only be used inside the function.

Python Tutorials

Python – Working with Data Types

August 4, 2024 / Python Tutorials, Tutorials / Number, String

Python has various built-in data types to allow for variables to store different types of data that can do different things.

Python Tutorials

Python – Working with Numbers

August 3, 2024 / Python Tutorials, Tutorials / Number

There are three numeric types in Python: int, float, and complex. Variables of numeric types are created when assigned a value.

Python Tutorials

Python – The Basics of Strings

December 9, 2024 / Python Tutorials, Tutorials / Python String, String

In Python, strings are surrounded by either single quotation marks, or double quotation marks. “Hello World” is the same as ‘Hello World’.

Python Tutorials

Python – Slicing Strings

December 9, 2024 / Python Tutorials, Tutorials / Python String, String

A range of characters can be returned from a string by using the slice syntax.

Python Tutorials

Python – Modifying Strings

December 9, 2024 / Python Tutorials, Tutorials / Python String, String

Python has a set of built-in methods that you can use to modify strings.

Python Tutorials

Python – String Concatenation

December 9, 2024 / Python Tutorials, Tutorials / Python String, String

To concatenate, or combine, two strings in Python, the + operator is used.

Python Tutorials

Python – Escaping Characters in a String

December 9, 2024 / Python Tutorials, Tutorials / Python String, String

To insert characters that will cause problems in a string, an escape character (backslash \ followed by the character you want to insert) is used.

Python Tutorials

Python – Formatting Strings

December 9, 2024 / Python Tutorials, Tutorials / Python String, String

To format a string, F-String is used by putting an f in front of the string literal and adding curly brackets {} as placeholders for variables/operations.

Python Tutorials

Python – Working with Booleans

September 22, 2024 / Python Tutorials, Tutorials / Boolean

Booleans represent one of two values: True or False. In Python you can evaluate any expression to determine whether it is True or False.

Python Tutorials

Python – Utilizing Operators

October 1, 2024 / Python Tutorials, Tutorials / Boolean

Python operators are used to perform various operations on variables and values.

Python Tutorials

Python – Creating and Using Lists

December 9, 2024 / Python Tutorials, Tutorials / List, Python List

Python lists are used to store multiple items in a single variable.

Python Tutorials

Python – Accessing List Items

December 9, 2024 / Python Tutorials, Tutorials / List, Python List

Python list items are indexed and can be accessed by referring to their index number.

Python Tutorials

Python – Changing List Items

December 9, 2024 / Python Tutorials, Tutorials / List, Python List

Python list items are accessed and changed by referring to their index number.

1 2 … 4 Next →

or View All Tags

Tutorials

  • HTML Tutorials (40)
  • CSS Tutorials (45)
    • CSS Flexbox (12)
  • JavaScript Tutorials (6)
  • jQuery Tutorials (13)
  • PHP Tutorials (0)
  • SQL Tutorials (0)
  • Python Tutorials (79)
    • Python File Handling (4)
    • Python and MySQL (11)
  • WordPress Tutorials (0)

Reference

  • HTML Reference (244)
    • HTML Tags (107)
    • HTML Attributes (46)
    • HTML Events (76)
    • HTML Resources (15)
  • CSS Reference (309)
    • CSS Selectors (55)
    • CSS Properties (220)
    • CSS Functions (17)
    • CSS Resources (17)
  • JavaScript Reference (555)
    • JavaScript Selectors (7)
    • JavaScript Operators (12)
    • JavaScript Statements (17)
    • JavaScript Methods (284)
    • JavaScript Properties (162)
    • JavaScript RegExp (45)
    • JavaScript Resources (28)
  • jQuery Reference (220)
    • jQuery Selectors (54)
    • jQuery Methods (140)
    • jQuery Ajax Methods (16)
    • jQuery Properties (17)
    • jQuery Resources (9)
  • PHP Reference (460)
    • PHP Keywords (59)
    • PHP Functions (400)
    • PHP Constants (0)
    • PHP Resources (1)
  • SQL Reference (290)
    • SQL Keywords (59)
    • MySQL Functions (138)
    • SQL Server Functions (83)
    • SQL Resources (10)
  • Python Reference (94)
    • Python Methods (86)
    • Python Resources (8)
  • WordPress Reference (0)

Snippets

  • HTML Snippets (3)
  • CSS Snippets (12)
  • JavaScript Snippets (5)
  • jQuery Snippets (8)
  • PHP Snippets (1)
  • SQL Snippets (3)
  • Python Snippets (1)
  • WordPress Snippets (36)
1SMARTchicken - Code Made Easy

333 Washington Blvd.
Suite 126
Marina del Rey, CA 90292
United States

contact2025@1smartchicken.com

  • About Us
  • Privacy Policy
  • Cookie Policy
  • Terms & Conditions

Search for Code:

or View All Tags

Copyright © 2025 1SMARTchicken | All Rights Reserved.