menu
Qammunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Jupyter notebook def string(str): '''given a string, return its len''' raise NotImplementedError() ====Expected output for string("dontquit&quo…
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Jupyter notebook def string(str): '''given a string, return its len''' raise NotImplementedError() ====Expected output for string("dontquit&quo…
asked
Mar 16, 2024
208k
views
3
votes
Jupyter notebook
def string(str):
'''given a string, return its len'''
raise NotImplementedError()
====Expected output for string("dontquit") is 8
=>for test function
?str.replace()
string('dontquit')
Computers and Technology
high-school
Zaggo
asked
by
Zaggo
7.9k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
3
votes
Answer:
bro your js trying to solve the concept of existence
Ben Guild
answered
Mar 22, 2024
by
Ben Guild
7.9k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Nov 1, 2024
127k
views
I want this function to return None if the lengths of a and b are the same, but it does not do that. def longer(a: str, b: str): return a if len(a) > len(b) else b
Jivopis
asked
Nov 1, 2024
by
Jivopis
8.3k
points
Computers and Technology
college
1
answer
0
votes
127k
views
asked
May 17, 2024
114k
views
I want this function to return None if the lengths of a and b are the same, but it does not do that. def longer(a: str, b: str): return a if len(a) > len(b) else b
Daksh
asked
May 17, 2024
by
Daksh
7.0k
points
Computers and Technology
high-school
1
answer
1
vote
114k
views
asked
Feb 28, 2024
70.5k
views
I want this function to return None if the lengths of a and b are the same, but it does not do that. def longer(a: str, b: str): return a if len(a) > len(b) else b a. Modify the code so that None is returned
Balteo
asked
Feb 28, 2024
by
Balteo
8.9k
points
Computers and Technology
high-school
2
answers
2
votes
70.5k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.4m
questions
12.2m
answers
Other Questions
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qammunity.org