[–] 5 points 5 months ago

Regardless of who sits in the seat of power in the US, it is a garbage country with garbage values and always has been. Fascism is just the logical conclusion.

  • source
  • [–] 0 points 5 months ago (2 children)

    No one is responsible for what the US does except US citizens. If they want to stop being murdered, put in camps, or trafficked maybe they should remove the murderers, fascists, and traffickers from their country. Imagine having more guns than people and still not being able to defend oneself from all of that.

  • source
  • parent
  • context
  • [–] 2 points 5 months ago (7 children)

    The part that stings the most about Elon to me is the failed potential or his missed opportunity to have been a great man and a true benefit to humanity.

    This opening sentence feels like they may not know.

  • source
  • parent
  • context
  •  

    I am learning both Greek and Python right now, so I decided to make a simple program that quizzes you on the translations by providing it in Greek and asking for English, and if you provide the English, it will output the Greek if it is in the dictionary.

    Feel free to take and modify this for your own uses if interested! It would be as simple as replacing the Greek dictionary and references with anything else. :)

    import random, sys
    
    greekTranslation = {
        'Γεια σας': 'Hello',
        'Καλημέρα': 'Good morning',
        'Καλησπέρα': 'Good evening',
        'Ευχαριστώ': 'Thank you',
        'Παρακαλώ': 'Please',}
    
    def practiceGreek():
        greekPhrase = random.choice(list(greekTranslation.keys()))
        print('')
        print(f'What is the translation of "{greekPhrase}"?')
        print('')
        answer = input('Your answer: ')
        if answer.strip().lower() == greekTranslation[greekPhrase].lower():
            print('')
            print('That is correct!')
            print('')
        else:
            print('')
            print(f'Incorrect! The correct translation is "{greekTranslation[greekPhrase]}".')
            print('')
    
    def translateToGreek():
        print('')
        print('What would you like to translate into Greek?')
        print('')
        englishPhrase = input().strip().lower()
        reverseTranslation = {v.lower(): k for k, v in greekTranslation.items()}
        greekPhrase = reverseTranslation.get(englishPhrase)
        
        if greekPhrase:
            print('')
            print(f'The Greek phrase is: "{greekPhrase}"')
            print('')
        else:
            print('')
            print('I am sorry, I don\'t have that in my dictionary.')
            print('')
        
            
    while True:
        print('Welcome to the Greek Practice Program!')
        print('')
        print('What would you like to do?')
        print('')
        print('[Practice] [Translate] [Exit]')
        print('')
        optionSelection = input().strip().lower()
            
        if optionSelection != 'practice' and optionSelection != 'translate' and \
           optionSelection != 'exit':
            print('')
            print('Please select either practice, translate, or exit')
            optionSelection = ''
            print('')
    
        if optionSelection == 'practice':
            while optionSelection == 'practice':
                practiceGreek()
                print('')
                print('Would you like another? [yes] [no]')
                print('')
                selection = input().strip().lower()
                if selection == 'yes':
                    print('')
                    continue
                else:
                    print('')
                    break
                    
                
        elif optionSelection == 'translate':
            while optionSelection == 'translate':
                translateToGreek()
                print('')
                print('Would you like to translate another phrase? [yes] [no]')
                print('')
                selection = input().strip().lower()
                if selection == 'yes':
                    print('')
                    continue
                else:
                    print('')
                    break
            
        
        elif optionSelection == 'exit':
            print('')
            print('Thank you for using the Greek Practice Program!')
            print('')
            sys.exit()
    
    
    view more: next ›