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

Category: Tutorials

1SMARTchicken - Code Made Easy

Category: Tutorials

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

Category: Tutorials

  • Tutorials (195)
  • Reference (2173)
  • Snippets (69)
  • Home
  • Tutorials
  • Page 7
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.

Python Tutorials

Python – Adding List Items

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

Python list items are added to an existing list using the insert() method, append() method, or extend() method.

Python Tutorials

Python – Removing List Items

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

Python list items can be removed using the remove() method, pop() method, del keyword, or clear() method.

Python Tutorials

Python – Looping Through List Items

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

Looping through Python list items can be done by using a for loop, while loop, or list comprehension.

Python Tutorials

Python – Using List Comprehension

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

Python list comprehension offers a shorter syntax when you want to create a new list based on the values of an existing list.

← Previous 1 … 6 7 8 … 10 Next →

or View All Tags

Tutorials

  • HTML Tutorials (40)
  • CSS Tutorials (45)
    • CSS Flexbox (12)
  • JavaScript Tutorials (18)
  • 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 (556)
    • JavaScript Selectors (7)
    • JavaScript Operators (12)
    • JavaScript Statements (17)
    • JavaScript Methods (285)
    • 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

contact2026@1smartchicken.com

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

Search for Code:

or View All Tags

Copyright © 2026 1SMARTchicken | All Rights Reserved.