Kurse
Kurse
Code Compiler
Code Compiler
Diskutieren
Teams
Anmelden
Registrieren
Menu
F&A Diskussionen
Suchen
Suchen
Eine Frage stellen
Eine Frage stellen
what should be the value of i to the power i where i=square root of -1
numeric-operations
python
0 Stimmen
3 Antworten
9th Mar 2018, 10:44 AM
Girish Vaisyaraj
Why in list (in python 3) to access the last element of a list, you use -1 and not -0?
indexers
lists
python
python3
1 Stimme
4 Antworten
15th May 2018, 6:39 PM
Eduardo Perez Regin
What i should count to last word in the string if i counting from last , -1 , -0 or 1.
javascript
js
2 Stimmen
2 Antworten
20th Apr 2019, 4:24 AM
Bug Slayer
You are given a non-empty sequence of non-negative integers terminated by a -1. The -1 is not part of the input sequence.
loops
0 Stimmen
1 Antwort
25th Sep 2019, 3:34 PM
Kartik Singh
find the minimum number of swaps required to make a string as symmetry string.if already then print 'symmetric'if not possibl -1
coding
palindrome
python
strings
symmetric
0 Stimmen
3 Antworten
5th May 2021, 6:50 PM
Amrita Kanchan Singh
Write a program to read the numbers until -1 is encountered. Also count the negative, positives, and zeroes entered by the user.
python3
0 Stimmen
1 Antwort
10th May 2022, 3:19 PM
Vijay saxena
write aprogram that calculates average mark of female students in class assume that the last valu read is Sentinel -1 from mark
c
programming
1 Stimme
1 Antwort
25th May 2019, 1:51 PM
seraj aldean
You will be given two words, 's' and 't'. You have to output the number of matching positions if s is an anagram of t, and -1 if
anagram
strings
1 Stimme
9 Antworten
8th Oct 2018, 9:57 AM
Nilutpol Kashyap
Need help or explanation.. are postfix and prefix in c++, c#, php or any language same ? when actually the value +1 or -1 ?
c#
c++
etc
java
math
php
postfix
prefix
0 Stimmen
6 Antworten
26th May 2017, 1:58 AM
Mugfirfauzy Siregar
Write a code using do while loop to read the numbers until -1 and also count the +ve, -ve & 0's encountered by the users
c
code
cprogram
programming
-1 Stimme
2 Antworten
14th Apr 2020, 3:12 PM
Shaik Vajida
Upon having the input as sin(x)=1 or -1 or related values the order in the list isn't proper any more, try it.
math
python3
1 Stimme
2 Antworten
29th May 2017, 9:44 PM
Simon
Get n list and compare the values inside if the numbers are same then you have to count 1 if not then return -1
c
java
python3
0 Stimmen
2 Antworten
24th Aug 2022, 1:21 PM
pooja balamurugan
What is the Method most efficiency to find in mat n*n (just ziro and one ) if exsist row thwn just ziro and colom just -1 ?
java
1 Stimme
5 Antworten
8th May 2017, 12:26 PM
yossi Nahmias
program in c++ to compare two strings and return 0 if the two strings are equal and -1 is strings are unequal
c++
help
0 Stimmen
2 Antworten
23rd Jan 2018, 3:56 PM
Raj Zamal
You will be given two words, 's' and 't'. You have to output the number of matching positions if s is an anagram of t, and -1 if
anagram
strings
2 Stimmen
3 Antworten
8th Oct 2018, 9:52 AM
Nilutpol Kashyap
write a function named nval that take 2 integer argument and return 1 if they have same number of factors. retur -1 if is negtif
me
0 Stimmen
2 Antworten
22nd Jun 2019, 11:23 AM
Sifa Ngelelo
In the code I've used array splice method, why it only removes one item ? As I've used -1 as index and 3 as remove count. Help!
arrays
javascript
splice
1 Stimme
2 Antworten
22nd Jan 2020, 12:32 PM
Argon
l want to program code that compare two values x and y , return 1 if x is greater than y else return 0 if x is equal to y or else return -1 if x less than y . Then program must accept user input
function-arguments
python
0 Stimmen
6 Antworten
13th Oct 2016, 8:20 AM
James T Togara
Can someone write a Python program which returns the longer of the shortest way between two points(for ex. fixed A and B) if there is a way exists between points and if there s no way between those 2 points the function returns -1
python
2 Stimmen
4 Antworten
21st May 2017, 10:21 PM
Ali
why the answer of this code is [0, 1, 4, 9, 16, 25, 36, 49, 64] and not [0, 1, 4, 9, 16, 25, 36, 49, 64, 81] and iam remember that -1 starts from the last no. in the list , then why the answer is not include 81????
lists
python
0 Stimmen
3 Antworten
4th Aug 2016, 5:31 PM
Ahmed Kamal
Method in python
-1
<
>
1:
def
function
h(x):
if
maximize
or
x
x
y
0 Stimmen
2 Antworten
15th Mar 2020, 4:22 PM
Njood Jasser
Eine Frage stellen
Eine Frage stellen
Eine Frage stellen
Eine Frage stellen
< Vorherige
1
2
Weiter >
Heute heiß
Help please?
4 Votes
How to get better with problem-solving and programming
1 Votes
Odd even threads without condition variable
0 Votes
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Game development
0 Votes
Write a program to find the strings are in isogram or not
0 Votes
Ruby programming?
3 Votes