Trending Programming Discussions

Follow

Ask the Community


Ask any professional question and get answers from other specialists.

Stream language
Obaid Rehman's image  
Answer added by  Obaid Rehman, Associate Professor-Finance, Lanzhou University of Finance and Economics
1 day ago

Negative indexing in Python allows you to access sequence elements (like lists, strings, and tuples) from the end, counting backwards. The last element has index -1, the ... See More

Justy Shyjin's image
Question added by Justy Shyjin Lead Software Developer TNQ Technologies
1 month ago
Answers:
1
Followers:
Views:
8
Vote Count:
0
Answer should contain a minimum of 25 characters.
NIRAJAN KUMAR JHA's image  
Answer added by  NIRAJAN KUMAR JHA, Graduate Research Engineer, Entegra Sources Pvt Ltd
4 days ago

Negative Indexing the the process of accessing elements in sequence from the end, using negative number as indexes. It is useful in accessing or extracting last few eleme ... See More

Kamran Akhlaq's image  
Answer added by  Kamran Akhlaq, Senior Manager Support & Operations, BaKhabar Kissan (BKK)
6 days ago

In Python, a negative index allows you to access elements from the end of a sequence, such as a list, string, or tuple, rather than from the beginning. The last element o ... See More

Kamran Akhlaq's image  
Answer added by  Kamran Akhlaq, Senior Manager Support & Operations, BaKhabar Kissan (BKK)
6 days ago

No language is inherently most secure, Rust is often considered one of the safest due to its emphasis on memory safety and strict compiler checks. However, the security o ... See More

ahmed khalid's image
Question added by ahmed khalid مدخل بيانات كمبيوتر الامل للمقاولات العامه
6 months ago

هل فرصة الشخص المبرمج دراسته ولا هوايته يتم النجاح بها اكثر ؟‎

بنسبة لي الهاوي لها يبدع اكثر لانه لن يستسلم لاي شي حتي يظهر تصميمه الافضل دائما ‎

Answers:
0
Followers:
Views:
2
Vote Count:
0
Answer should contain a minimum of 25 characters.
Mohammed  Azmath khan Mohammed's image  
Answer added by  Mohammed Azmath khan Mohammed, Engineer, Sasken Technologies
7 days ago

In my opinoin c++ is the most secure language which consists of rich libraries with more security as it directly with memory.

Mohammed  Azmath khan Mohammed's image  
Answer added by  Mohammed Azmath khan Mohammed, Engineer, Sasken Technologies
7 days ago

If I take list or array, which contains suppose elements from 1 to 10, negative indexing starts from 10 and it is represented with ' - '(negative marking)

Baizid Molla's image  
Answer added by  Baizid Molla, Production Officer, AkijBashir Group
7 days ago

    my_list = [,,,,] print(my_list[-1]) # Output: print(my_list[-3]) # Output:

Baizid Molla's image  
Answer added by  Baizid Molla, Production Officer, AkijBashir Group
7 days ago

    Security depends more on the programmer's practices, e.g., proper input validation,, avoiding hardcode secrets than the language itself.