# Language codes include "pt" for Portuguese and "es" for Spanish. print("Website Languages available" + "in Portuguese(pt) and Spanish(es) ") print(" ") subject = input("Enter a Subject: ") print("Portuguese - pt" + " " +"Spanish - es") language_code = input("Enter Language: (es or pt): ") # Subjects can be math, science, computing, or humanities. subject = "input" url = "https://" + language_code + ".khanacademy.org/" + subject print(" ") print("Navigate to the page below!") print(url)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter