Skip to content

Releases: gvzgithub/pylearn

atm1.0.0

Choose a tag to compare

@gvzgithub gvzgithub released this 25 Oct 13:40
85fd9a5

A common atm system in cmd

1.0.6

Choose a tag to compare

@gvzgithub gvzgithub released this 30 Apr 13:46
a99dd01

Turning .py files into .exe files

1.0.5

Choose a tag to compare

@gvzgithub gvzgithub released this 27 Apr 11:50
cf7fdd7

This time the problem was successfully solved: the local variable 'invalid_choice_msg' might be referenced before assignment.

This time, I defined all the required variables outside the function and then assigned them inside the function.

In this version, I define all the required variables outside the function and set them to empty strings. Then, inside the main() function, we use the global keyword to declare these variables as global variables so that they can be assigned values inside the function.

Now, no matter which language the user chooses, the corresponding variables will be correctly assigned and there will be no "local variable may be referenced before assignment" errors.

1.0.4

1.0.4 Pre-release
Pre-release

Choose a tag to compare

@gvzgithub gvzgithub released this 27 Apr 11:43
cf7fdd7

In version 1.0.3, the invalid_choice_msg variable was defined in the if and elif statement blocks, but not in the else statement block. This resulted in an UnboundLocalError error.

In the new code, I moved the definition of the invalid_choice_msg variable before the if statement so that it would theoretically be defined correctly regardless of the user's language choice.

But there is still an error: (

1.0.3

1.0.3 Pre-release
Pre-release

Choose a tag to compare

@gvzgithub gvzgithub released this 27 Apr 11:38
cf7fdd7

This version tries to exit after a few seconds when entering an illegal language value, but an error occurs

1.0.2

Choose a tag to compare

@gvzgithub gvzgithub released this 26 Apr 13:56
82e28aa

Add bilingual support

1.0.1

Choose a tag to compare

@gvzgithub gvzgithub released this 21 Apr 02:51
76118d5

Modify the error for non-numeric inputs

1.0.0

Choose a tag to compare

@gvzgithub gvzgithub released this 20 Apr 13:57
63dcd71
v1

Update README.md