Dear Jedi, I wrote my first program but it doesn't open a website as I intended it to. Please correct my mistake.
Sincerely, Mann def a(): import urllib.request url = "http://www.google.com" response = urllib.request.urlopen(url) g = input("Please enter y or n to go to youtube : ") if g == "y": print("Opening the website") a() else: print("kein website") exit()
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor