• pelowtown24

    @mikael will do look into it thanks

    posted in Pythonista read more
  • pelowtown24

    @mikael it came from java

    posted in Pythonista read more
  • pelowtown24

    @cvp awesome thank you šŸ™šŸ»

    posted in Pythonista read more
  • pelowtown24

    @cvp one per each one which is 4 of them. Anything will help

    posted in Pythonista read more
  • pelowtown24

    All set thanks

    posted in Pythonista read more
  • pelowtown24

    Im trying to create buttons so this action can be pass after. Iā€™m new at this sorry to a pain. Here is my scrip without the buttons:

    import random
    
    
    def workerFunction():
        while True:
            try: x=input()
            
            
            except EOFError: pass
            if x.lower().startswith('q'):
                break
                
                
            elif x == '1': print( 'Megabucks',factory.factoryLogic ( 1, 46, 6 ) )
            elif x == '2': print( 'Lucky For Life',factory.factoryLogic (1, 48, 5 ),factory.factoryLogic( 1, 18, 1 ) )
            elif x == '3': print( 'Powerball',factory.factoryLogic (1, 69, 5 ),factory.factoryLogic( 1, 26, 1 ) )
            elif x == '4': print( 'Mega Millions',factory.factoryLogic (1, 70, 5 ),factory.factoryLogic( 1, 25, 1 ) )
            
    
    class factory:
    
        
        def __init__( self ): self.a = 0
        
        
        def factoryLogic( startPosi, endPosi, interateNumber ):
            a = random.sample( range( startPosi, endPosi+1 ), interateNumber )
            a.sort()
            return a
            
    if __name__ == '__main__':
        workerFunction() ```

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!