Coder Social home page Coder Social logo

samthegitguy / timestables Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 27 KB

Timestables quiz program. see readme.txt for more info.

License: The Unlicense

Python 74.74% HTML 25.26%
maths-quiz-game maths-calculator maths-quiz mathematics math maths

timestables's Introduction

Hi there ๐Ÿ‘‹

I am a floating boat. When I see land I go towards it.

But I am in the middle of the sea. I am going around in circles. I know that there are people who want me to contribute to their repos. I know that I am a person who wants to contribute to somebody's repos.

I know how to basically code in languages including

  • HTML
  • CSS
  • Javascript
  • Python
  • Java
  • C++

If you'd like me to help on your repository, I'd be happy to try. Please raise an issue at samthegitguy/samthegitguy

  • ๐Ÿ”ญ I'm currently working on samthegitguy/tenminstop and other private repos
  • ๐ŸŒฑ Iโ€™m currently learning and C++.
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on simple repositories in the above languages
  • ๐Ÿ’ฌ Ask me about things I can help you with
  • ๐Ÿ“ซ How to reach me: Create an issue on samthegitguy/samthegitguy

timestables's People

Contributors

samthegitguy avatar

Watchers

 avatar

timestables's Issues

NameError: name Y is not defined

Seems like the new feature with Would You Like To try Again? ( Traceback (most recent call last): File "timetable.py", line 25, in <module> theinput = input("Would you like to try again? (Y/N) File "<string>", line 1, in <module> NameError: Name Y is not defined)
The variable theinput is used to store the result of the input() function.
Seems like the input is taking it as a variable, perhaps I need to use raw_input() or str(input()) perhaps.
Tasklist:

  • change to str(input()) or raw_input()
  • git add
  • git commit
  • git push
  • whatever else is needed.

Latest code is in the repo.
@tjsfdc need your help if possible.
Got solutions? drop them in the comments below

Checks for number

Earlier the script would error out if the answer is not a number, as it is not a raw_input(), so it is only meant to take in numbers, booleans, etc and not strings. So I need to add couple lines of code to check if it is a number or string.

Quits at second number in Windows 10 environment

Noticing that the program is quitting immediately after progressing to 2 times x and as such is not working properly in Windows 10 environment with Python shell.
Works on Linux without any problems..

Note that currently this only applies to blitz branch, I will test the master branch on Windows 10 to confirm.

If you know anything about the reason of this, contributions are encouraged.

Thanks,

SamTheGitGuy

Resources and other information:

  • Only tested on Windows 10 as of writing
  • Currently only applies to blitz branch
  • Further testing on other versions is to be done

Checklist:

  • Test on Master branch
  • Test on other versions of Windows
  • Identify problem

unexpected EOF while parsing

asks for table to practice, gives space to press enter, and says:
Traceback: Most Recent call last:
blah blah blah
Syntax error: Unexpected EOF while parsing.

Master branch gives Thats Incorrect at every question 2+

This issue is most likely related to issue #10 as it only triggers at and after second input.

This branch is working perfectly on Linux so I will not be editing the master branch as it is and instead using the windows-edition branch instead.

This bug only appears on Linux.

SamTheGitGuy

Resources and Checklists:

Resources:

  • Only tested on Version 10.0.18362 Build 18362 of Windows

Checklist:

  • Test on other versions of Windows,

  • Identify problem and fix.

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.