• modern admin logo

    StudyZone4U

  • Mega
    • News
      First slidePoster Frame PSD

      January 26, 2018

    • Drill down menu
        • Home
        • Tutorials
          • Second level
          • Second level menu
            • Third level
            • Third level
            • Third level
            • Third level
          • Second level, third link
          • Second level, fourth link
        • Latest Post
        • Interview
        • About Us
        • Contact Us
    • Tags

      Test4 Teat Test1 HTML JQuery JavaScript PHP SQL MySQL Python Django Chart Ajax PHP-MySQL TINYMCE CodeIgniter CSS CMD SSH robots_txt PayPal Elasticsearch Git Cron Job Linux htaccess Boto3 AWS KMS django-rest-framework Windows Django Sitemap Framework CKEditor TCPDF Security PostgreSQL Google reCAPTCHA Regex React Vue HTTP CAPTCHA MongoDB MSSQL SQLite BigQuery DynamoDB Matplotlib Pandas NumPy SciPy DRF

    • Contact Us
  • Home
  • Latest Post
  • Interview
  • About Us
  • Contact Us

What does [::-1] do?

Last updated 4 years, 2 months ago | 1762 views 75     5

Tags:- Python

Card image

What does [::-1] do?

[::-1] is used to inverse the order of a sequence.

>>> my_list = [1,2,3,5,6,7,8,9]

>>> my_list[::-1]
[9, 8, 7, 6, 5, 3, 2, 1]

 

 

From The Article


Card image

Solving TCPDF Memory Issue: Allowed Memory Size Exhausted

Card image

How to Select the Last 6 Months from a Records Table Using MySQL

Card image

PHP XML Parsers: Efficient XML Handling with SimpleXML, DOM, and XMLReader

Card image

How to Install PHP on Windows, macOS, and Linux (Beginner-Friendly Guide)

Card image

PHP MySQL ORDER BY Clause: How to Sort Your Query Results Effectively

Card image

How to Set the Default Value of a Text Input Field Using JavaScript



Trending View All

How to show data values on top of each bar …

Updated 6 years ago | 40433 views

A non-numeric value encountered in PHP

Updated 7 years ago | 24394 views

The view account.views.register did not return an HttpResponse object. It …

Updated 6 years ago | 20397 views

Input type number maxlength not working

Updated 6 years ago | 18301 views

Uncaught TypeError: e.indexOf is not a function in JQuery

Updated 7 years ago | 14729 views

How to start array index from 1 in PHP

Updated 6 years ago | 13940 views



Interview Questions

PHP Interview Question
PayPal Interview Question
MySQL Interview Question
PHP-MySQL Interview Question
SQL Interview Question
CodeIgniter Interview Question
JQuery Interview Question
htaccess Interview Question
JavaScript Interview Question
HTML Interview Question
Python Interview Question
Django Interview Question

StudyZone4U.com Hand-crafted & Made with