I have to write a function recursively to convert a given decimal string ad return a binary. I can't change the first 3 lines of the function(n = Len(a) ... return str(bin(int(a)))) and I don't understand why my solution doesn't work. Does anyone have any suggestions?
Im trying to add a digital clock to my Kivy program, it seems to be having trouble.Here is the .py:import kivykivy.require(1.10.0)from kivy.lang import Builder
from kivy.uix.screenmanager import Screen…
Closed. This question needs to be more focused. It is not currently accepting answers.Want to improve this question? Update the question so it focuses on one problem only by editing this post.Closed 4…
My dataframe is composed of accounting variables and a dummy variable that allows me to identify two types of company.
I would like to perform a t-test for every column of my dataframe in order to comp…
The last line of the output is none can someone explain why pls
def just_lyrics():print ("i am a bad coder")print (" i keep trying to learn everday")def double_lyrics():just_lyrics(…
I am struggling with datetime64 comparisons in dataframes to update a column. lets say we have a dataframe df with a date columndf.date.values[0]
Out[128]: numpy.datetime64(2015-05-17T22:00:00.00000000…
Trying to make the sample flask application more modular,I am new to python and flask trying to build a sample application where , I have planned to maintain the folder structure of the application a…
Im using the same sparql statement using two different clients but both are not returning the same results. The owl file is in rdf syntax and can be accessed here.
This is the sparql statement: PREFIX …
Im writing in Python 3.3.
I have a set of nested dictionaries (shown below) and am trying to search using a key at the lowest level and return each of the values that correspond to the second level.
Pa…