import urllib.parse
import os
from dotenv import load_dotenv

#gets app id from .env
load_dotenv()
WOLFRAMID = os.getenv('WOLFAPPID')

baseurl = "http://api.wolframalpha.com/v1/simple"
urlappid = baseurl+"?appid="+WOLFRAMID

def getsolution(latex):
    finalurl = urlappid+"&input="+urllib.parse.quote(latex)
    return finalurl 
    
21a6368a6cfed741be4c33e909c4ec0149ff3f28
<mask token>


def getsolution(latex):
    finalurl = urlappid + '&input=' + urllib.parse.quote(latex)
    return finalurl

<mask token>
load_dotenv()
<mask token>


def getsolution(latex):
    finalurl = urlappid + '&input=' + urllib.parse.quote(latex)
    return finalurl

<mask token>
load_dotenv()
WOLFRAMID = os.getenv('WOLFAPPID')
baseurl = 'http://api.wolframalpha.com/v1/simple'
urlappid = baseurl + '?appid=' + WOLFRAMID


def getsolution(latex):
    finalurl = urlappid + '&input=' + urllib.parse.quote(latex)
    return finalurl

import urllib.parse
import os
from dotenv import load_dotenv
load_dotenv()
WOLFRAMID = os.getenv('WOLFAPPID')
baseurl = 'http://api.wolframalpha.com/v1/simple'
urlappid = baseurl + '?appid=' + WOLFRAMID


def getsolution(latex):
    finalurl = urlappid + '&input=' + urllib.parse.quote(latex)
    return finalurl

import urllib.parse
import os
from dotenv import load_dotenv

#gets app id from .env
load_dotenv()
WOLFRAMID = os.getenv('WOLFAPPID')

baseurl = "http://api.wolframalpha.com/v1/simple"
urlappid = baseurl+"?appid="+WOLFRAMID

def getsolution(latex):
    finalurl = urlappid+"&input="+urllib.parse.quote(latex)
    return finalurl 
    