This question and your very related one have a huge amount in common:
Python dictionary and java hash maps[
^]
You are making a mistake, and a pretty big one.
You are assuming that code in Language A just needs to be translated to Language B in order to get a good app in the target language. That doesn't happen - it produces bad code in the target and worse, it teaches you nothing about writing code, designing an app, or pretty much anything else.
The two languages use different frameworks, so what works well in Java doesn't necessarily translate well to Python (very little does).
So what you are doing is making your life harder in the long run: you don't learn how to develop an app, you don't learn Python particularly well, and you don't get a good grade when you hand it in!
So why do it?
Instead, read the Java code and extract the design, the overall way it works - not the specifics of the language it uses - and use that as a specification for your own Python app. Then design an app based on that specification, and start coding that. You'll get a better app, quicker, and you'll learn stuff that will help you with the next assignment. And probably get a better grade to boot.