Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
import emoji
import requests
import flag
def language():
while True:
LanguageChoice=input("1 for english:\n"
"2 für deutsch bitte deutsch eingeben:\n"
"3 dla języka polskiego proszę wprowadzić polski:\n")
if LanguageChoice == "1":
print("you have chosen english")
x1 = input("hi my name is eggy whats your name?:\n")
print("hello "+x1 +" nice to meet you!",)
while True:
MenuChoice = input("please input what type of news you would like to check today\n 1.wheather\n 2.sports\n 3.tech \n 4.HOT NEWS!:\n")
if MenuChoice == "1":
"weather.py()"
return()
elif MenuChoice == "2":
"sports.py()"
elif MenuChoice == "3":
"tech.py()"
elif MenuChoice == "4":
"hotnews.py()"
elif MenuChoice == 5:
".py()"
else:
print("sorry i dont understnad please try again")
continue
elif LanguageChoice == "2":
print("du hast deutsch gewählt")
x1 = input("hi my name is eggy whats your name?:\n")
print("hello " + x1 + " nice to meet you!", )
while True:
MenuChoice = input("please input what type of news you would like to check today\n 1.wheather\n 2.sports\n 3.tech \n 4.HOT NEWS!:\n")
if MenuChoice == 1:
"weather.py()"
elif MenuChoice == 2:
"sports.py()"
elif MenuChoice == 3:
"tech.py()"
elif MenuChoice == 4:
"hotnews.py()"
elif MenuChoice == 5:
".py()"
else:
print("sorry i dont understnad please try again")
continue
elif LanguageChoice == "3":
print("wybrałeś polski")
x1 = input("hi my name is eggy whats your name?:\n")
print("hello " + x1 + " nice to meet you!", )
while True:
MenuChoice = input(
"please input what type of news you would like to check today\n 1.wheather\n 2.sports\n 3.tech \n 4.HOT NEWS!:\n")
if MenuChoice == 1:
"weather.py()"
elif MenuChoice == 2:
"sports.py()"
elif MenuChoice == 3:
"tech.py()"
elif MenuChoice == 4:
"hotnews.py()"
elif MenuChoice == 5:
".py()"
else:
print("sorry i dont understnad please try again")
continue
else:
print("sorry No Language found please try again")
continue
print(language())