F&A Diskussionen
What is wrong with
1 Stimme
2 AntwortenWhat's wrong in this??
3 Stimmen
5 AntwortenExcel Index-Match not consistent?
0 Stimmen
1 Antwortis this wrong?
0 Stimmen
1 AntwortQuick feedback on error?
0 Stimmen
13 AntwortenChecking if an item is in an list
2 Stimmen
1 Antwortoutputs array
0 Stimmen
2 AntwortenHow i can do in python?
2 Stimmen
1 AntwortComo puedo mejorar este codigo
0 Stimmen
1 AntwortWhy output is 4,9
2 Stimmen
3 AntwortenHow to generate ?
0 Stimmen
1 Antwortcan someone help..
what does this code means so it could have the output like on the example..
class SpecialString:
def __init__(self, cont):
self.cont = cont
def __gt__(self, other):
for index in range(len(other.cont)+1):
result = other.cont[:index] + ">" + self.cont
result += ">" + other.cont[index:]
print(result)
spam = SpecialString("spam")
eggs = SpecialString("eggs")
spam > eggs
1 Stimme
6 AntwortenWhat am I doing wrong?
0 Stimmen
3 AntwortenWhy this code runs?:
nums = [4, 5, 6]
msg = "Numbers: {} {}". format(nums[0], nums[1], nums[2])
print(msg)
Numbers:4, 5.
Byt the code:
nums = [4, 5, 6]
msg = "Numbers: {} {} {} {}". format(nums[0], nums[1], nums[2])
print(msg)
leading to error?
IndexError: tuple index our of range
1 Stimme
3 AntwortenSwitch statement cases
1 Stimme
1 AntwortHeute heiß
New code
1 Votes
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Hello Everyone
0 Votes