Code Monkey home page Code Monkey logo

python-challenge-2's People

Contributors

iskysun96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

python-challenge-2's Issues

Is this challenge time-frame over?

Hi there

Is the challenge time-frame over? I have bashed my head against this one and simply cannot seem to figure out what I am supposed to do? I learn best when I can look at similar examples and cannot seem to find anything that seems to fit the bill.

I am not a very good developer so I struggle when examples aren't very similar. :-)

Anyway if the time-frame has passed then I can put myself out of my misery and look at the pull request from the real developers.

Would appreciate a response please. @iskysun96 (apologies for the mention)

Starting point

I am struggling to figure this one out. I am sure it is not as complicated as I think.

What I would like to confirm though, is what error should I be getting when trying to compile the unchanged code.

I am getting this:

smart_contracts/counter/contract.py:20:9 error: Unresolvable attribute 'count' of smart_contracts.counter.contract.Counter
                                                       self.count[Txn.sender] += 1
                                                       ^~~~~~~~~~~~~~~~~~~~~~
smart_contracts/counter/contract.py:12:9 error: Unresolvable attribute 'count' of smart_contracts.counter.contract.Counter
                                                       self.count[Txn.sender] = UInt64(0)
                                                       ^~~~~~~~~~~~~~~~~~~~~~

and the reason I ask is that above that I get this warning:

warning: Found a prefix, but could not find the expected site-packages: prefix='/home/andy/Source/algorand-workspace/project/venv', discovered_site_packages=[PosixPath('/home/andy/Source/algorand-workspace/project/venv/lib/python3.12/site-packages'), PosixPath('/home/andy/Source/algorand-workspace/project/venv/lib/python3.10/site-packages')]

Just want to make sure that my environment is correct and not causing problems too.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.