repo_name stringlengths 5 76 | fname listlengths 1 6 | context stringlengths 15 1.47k | question stringlengths 31 95 | answer stringlengths 1 358 | full_len int64 58 256 |
|---|---|---|---|---|---|
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/cal.py",
"repos/zwelinhtet129/PythonSampleB/tax.py"
] | width = [number]
height = [number] * [number]
vol = width * height
print ( vol )
[comment]
tax = [number] / [number]
price = [number]
ttax = price * tax
round ( ttax )
tprice = price + ttax
round ( tprice )
print ( tprice ) | What is the type of variable price? | builtins.int | 131 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/cal.py",
"repos/zwelinhtet129/PythonSampleB/tax.py"
] | width = [number]
height = [number] * [number]
vol = width * height
print ( vol )
[comment]
tax = [number] / [number]
price = [number]
ttax = price * tax
round ( ttax )
tprice = price + ttax
round ( tprice )
print ( tprice ) | What is the type of variable ttax? | builtins.float | 132 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/cal.py",
"repos/zwelinhtet129/PythonSampleB/tax.py"
] | width = [number]
height = [number] * [number]
vol = width * height
print ( vol )
[comment]
tax = [number] / [number]
price = [number]
ttax = price * tax
round ( ttax )
tprice = price + ttax
round ( tprice )
print ( tprice ) | What is the type of variable tprice? | builtins.float | 132 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/Python File IO/open.py"
] | [comment]
[comment]
[comment]
[comment]
[comment]
[comment]
with open ( [string] , [string] ) as f :
[comment]
[comment]
size_to_read = [number]
f_text = f . read ( size_to_read )
while len ( f_text ) > [number] :
print ( f_text , end = [string] )
[comment]
[comment]
[comment]
[comment]
... | What is the type of variable size_to_read? | builtins.int | 181 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/Python File IO/open.py"
] | [comment]
[comment]
[comment]
[comment]
[comment]
[comment]
with open ( [string] , [string] ) as f :
[comment]
[comment]
size_to_read = [number]
f_text = f . read ( size_to_read )
while len ( f_text ) > [number] :
print ( f_text , end = [string] )
[comment]
[comment]
[comment]
[comment]
... | What is the type of variable f_text? | builtins.str | 180 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/circle/circle.py"
] | import turtle
import turtle
from turtle import *
import random
window = turtle . Screen ( )
turtle . speed ( [number] )
for i in range ( [number] ) :
turtle . circle ( [number] * [number] )
turtle . circle ( - [number] * [number] )
turtle . left ( i )
window . exitonclick ( ) | What is the type of variable window? | turtle._Screen | 135 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/InputOutput/InputOutput.py"
] | [comment]
from typing import Dict
import typing
yes_votes = [number]
no_votes = [number]
percentage = yes_votes / ( yes_votes + no_votes )
[string] . format ( yes_votes , percentage )
table = { [string] : [number] , [string] : [number] , [string] : [number] }
for name , phone in table . items ( ) :
print ( f... | What is the type of variable yes_votes? | builtins.int | 203 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/InputOutput/InputOutput.py"
] | [comment]
from typing import Dict
import typing
yes_votes = [number]
no_votes = [number]
percentage = yes_votes / ( yes_votes + no_votes )
[string] . format ( yes_votes , percentage )
table = { [string] : [number] , [string] : [number] , [string] : [number] }
for name , phone in table . items ( ) :
print ( f... | What is the type of variable no_votes? | builtins.int | 203 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/InputOutput/InputOutput.py"
] | [comment]
from typing import Dict
import typing
yes_votes = [number]
no_votes = [number]
percentage = yes_votes / ( yes_votes + no_votes )
[string] . format ( yes_votes , percentage )
table = { [string] : [number] , [string] : [number] , [string] : [number] }
for name , phone in table . items ( ) :
print ( f... | What is the type of variable percentage? | builtins.float | 202 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/InputOutput/InputOutput.py"
] | [comment]
from typing import Dict
import typing
yes_votes = [number]
no_votes = [number]
percentage = yes_votes / ( yes_votes + no_votes )
[string] . format ( yes_votes , percentage )
table = { [string] : [number] , [string] : [number] , [string] : [number] }
for name , phone in table . items ( ) :
print ( f... | What is the type of variable table? | typing.Dict[builtins.str,builtins.int] | 210 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/Python Forte Tree/dot.py",
"repos/zwelinhtet129/PythonSampleB/Python Forte Tree/dstar.py"
] | import turtle
import turtle
dot = turtle . Turtle ( )
dot_distance = [number]
width = [number]
height = [number]
dot . pendown ( )
for i in range ( height ) :
for i in range ( width ) :
dot . dot ( )
dot . forward ( dot_distance )
dot . backward ( dot_distance * width )
dot . left ( [number] )
dot . fo... | What is the type of variable dot? | turtle.Turtle | 219 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/Python Forte Tree/dot.py",
"repos/zwelinhtet129/PythonSampleB/Python Forte Tree/dstar.py"
] | import turtle
import turtle
dot = turtle . Turtle ( )
dot_distance = [number]
width = [number]
height = [number]
dot . pendown ( )
for i in range ( height ) :
for i in range ( width ) :
dot . dot ( )
dot . forward ( dot_distance )
dot . backward ( dot_distance * width )
dot . left ( [number] )
dot . fo... | What is the type of variable dot_distance? | builtins.int | 220 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/Python Forte Tree/dot.py",
"repos/zwelinhtet129/PythonSampleB/Python Forte Tree/dstar.py"
] | import turtle
import turtle
dot = turtle . Turtle ( )
dot_distance = [number]
width = [number]
height = [number]
dot . pendown ( )
for i in range ( height ) :
for i in range ( width ) :
dot . dot ( )
dot . forward ( dot_distance )
dot . backward ( dot_distance * width )
dot . left ( [number] )
dot . fo... | What is the type of variable width? | builtins.int | 219 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/Python Forte Tree/dot.py",
"repos/zwelinhtet129/PythonSampleB/Python Forte Tree/dstar.py"
] | import turtle
import turtle
dot = turtle . Turtle ( )
dot_distance = [number]
width = [number]
height = [number]
dot . pendown ( )
for i in range ( height ) :
for i in range ( width ) :
dot . dot ( )
dot . forward ( dot_distance )
dot . backward ( dot_distance * width )
dot . left ( [number] )
dot . fo... | What is the type of variable height? | builtins.int | 219 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/Python Forte Tree/dot.py",
"repos/zwelinhtet129/PythonSampleB/Python Forte Tree/dstar.py"
] | import turtle
import turtle
dot = turtle . Turtle ( )
dot_distance = [number]
width = [number]
height = [number]
dot . pendown ( )
for i in range ( height ) :
for i in range ( width ) :
dot . dot ( )
dot . forward ( dot_distance )
dot . backward ( dot_distance * width )
dot . left ( [number] )
dot . fo... | What is the type of variable triple? | turtle.Turtle | 219 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/Python Forte Tree/square.py"
] | import turtle
import turtle
square = turtle . Turtle ( )
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
smarttri = turtle . Turtle ( )
for i in range ( [number] ) :
smarttri . forward ( [number] )
smarttri . left ( [number] )... | What is the type of variable square? | turtle.Turtle | 160 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/Python Forte Tree/square.py"
] | import turtle
import turtle
square = turtle . Turtle ( )
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
smarttri = turtle . Turtle ( )
for i in range ( [number] ) :
smarttri . forward ( [number] )
smarttri . left ( [number] )... | What is the type of variable smarttri? | turtle.Turtle | 161 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/youtube_dl/version.py"
] | from __future__ import unicode_literals
__version__ = [string]
| What is the type of variable __version__? | builtins.str | 70 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/youtube_dl/extractor/myvidster.py"
] | from typing import Any , Dict , Union , List
import typing
from __future__ import unicode_literals
from . common import InfoExtractor
class MyVidsterIE ( InfoExtractor ) :
_VALID_URL = [string]
_TEST = { [string] : [string] , [string] : [string] , [string] : { [string] : [string] , [string] : [string] , [stri... | What is the type of variable _VALID_URL? | builtins.str | 252 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/youtube_dl/extractor/myvidster.py"
] | from typing import Any , Dict , Union , List
import typing
from __future__ import unicode_literals
from . common import InfoExtractor
class MyVidsterIE ( InfoExtractor ) :
_VALID_URL = [string]
_TEST = { [string] : [string] , [string] : [string] , [string] : { [string] : [string] , [string] : [string] , [stri... | What is the type of variable video_id? | typing.Any | 250 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/youtube_dl/extractor/myvidster.py"
] | from typing import Any , Dict , Union , List
import typing
from __future__ import unicode_literals
from . common import InfoExtractor
class MyVidsterIE ( InfoExtractor ) :
_VALID_URL = [string]
_TEST = { [string] : [string] , [string] : [string] , [string] : { [string] : [string] , [string] : [string] , [stri... | What is the type of variable webpage? | typing.Any | 249 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/youtube_dl/extractor/videodetective.py"
] | from typing import Any , Dict , Union
import typing
from __future__ import unicode_literals
from . common import InfoExtractor
from . internetvideoarchive import InternetVideoArchiveIE
class VideoDetectiveIE ( InfoExtractor ) :
_VALID_URL = [string]
_TEST = { [string] : [string] , [string] : { [string] : [st... | What is the type of variable _VALID_URL? | builtins.str | 239 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/youtube_dl/extractor/videodetective.py"
] | from typing import Any , Dict , Union
import typing
from __future__ import unicode_literals
from . common import InfoExtractor
from . internetvideoarchive import InternetVideoArchiveIE
class VideoDetectiveIE ( InfoExtractor ) :
_VALID_URL = [string]
_TEST = { [string] : [string] , [string] : { [string] : [st... | What is the type of variable video_id? | typing.Any | 237 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/youtube_dl/extractor/videodetective.py"
] | from typing import Any , Dict , Union
import typing
from __future__ import unicode_literals
from . common import InfoExtractor
from . internetvideoarchive import InternetVideoArchiveIE
class VideoDetectiveIE ( InfoExtractor ) :
_VALID_URL = [string]
_TEST = { [string] : [string] , [string] : { [string] : [st... | What is the type of variable query? | builtins.str | 237 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/devscripts/lazy_load_template.py"
] | [comment]
from typing import Any , Type
import master
import typing
from __future__ import unicode_literals
import re
class LazyLoadExtractor ( object ) :
_module = None
@ classmethod def ie_key ( cls ) :
return cls . __name__ [ : - [number] ]
def __new__ ( cls , * args , ** kwargs ) :
mod = __import__ ... | What is the type of variable mod? | typing.Any | 199 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/devscripts/lazy_load_template.py"
] | [comment]
from typing import Any , Type
import master
import typing
from __future__ import unicode_literals
import re
class LazyLoadExtractor ( object ) :
_module = None
@ classmethod def ie_key ( cls ) :
return cls . __name__ [ : - [number] ]
def __new__ ( cls , * args , ** kwargs ) :
mod = __import__ ... | What is the type of variable real_cls? | typing.Any | 200 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/devscripts/lazy_load_template.py"
] | [comment]
from typing import Any , Type
import master
import typing
from __future__ import unicode_literals
import re
class LazyLoadExtractor ( object ) :
_module = None
@ classmethod def ie_key ( cls ) :
return cls . __name__ [ : - [number] ]
def __new__ ( cls , * args , ** kwargs ) :
mod = __import__ ... | What is the type of variable instance? | typing.Any | 199 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/devscripts/gh-pages/update-copyright.py"
] | [comment]
[comment]
from typing import Any
import typing
from __future__ import with_statement , unicode_literals
import datetime
import glob
import io [comment]
import os
import re
year = str ( datetime . datetime . now ( ) . year )
for fn in glob . glob ( [string] ) :
with io . open ( fn , encoding = [... | What is the type of variable year? | builtins.str | 227 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/devscripts/gh-pages/update-copyright.py"
] | [comment]
[comment]
from typing import Any
import typing
from __future__ import with_statement , unicode_literals
import datetime
import glob
import io [comment]
import os
import re
year = str ( datetime . datetime . now ( ) . year )
for fn in glob . glob ( [string] ) :
with io . open ( fn , encoding = [... | What is the type of variable content? | typing.Any | 226 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/devscripts/gh-pages/update-copyright.py"
] | [comment]
[comment]
from typing import Any
import typing
from __future__ import with_statement , unicode_literals
import datetime
import glob
import io [comment]
import os
import re
year = str ( datetime . datetime . now ( ) . year )
for fn in glob . glob ( [string] ) :
with io . open ( fn , encoding = [... | What is the type of variable newc? | builtins.str | 228 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/devscripts/gh-pages/update-copyright.py"
] | [comment]
[comment]
from typing import Any
import typing
from __future__ import with_statement , unicode_literals
import datetime
import glob
import io [comment]
import os
import re
year = str ( datetime . datetime . now ( ) . year )
for fn in glob . glob ( [string] ) :
with io . open ( fn , encoding = [... | What is the type of variable tmpFn? | builtins.str | 228 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/youtube-dl-master/test/test_postprocessors.py"
] | [comment]
from typing import Any
import typing
from __future__ import unicode_literals
[comment]
import os
import sys
import unittest
sys . path . insert ( [number] , os . path . dirname ( os . path . dirname ( os . path . abspath ( __file__ ) ) ) )
from youtube_dl . postprocessor import MetadataFromTitlePP... | What is the type of variable pp? | typing.Any | 187 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/student/mary.py",
"repos/zwelinhtet129/PythonSampleB/student/student.py"
] | from typing import List
import typing
a = [ [string] , [string] , [string] , [string] , [string] ]
from typing import List
import typing
[docstring]
a = [ [string] , [string] , [string] , [string] , [string] ]
| What is the type of variable a? | typing.List[builtins.str] | 124 |
zwelinhtet129/PythonSampleB | [
"repos/zwelinhtet129/PythonSampleB/student/mary.py",
"repos/zwelinhtet129/PythonSampleB/student/student.py"
] | from typing import List
import typing
a = [ [string] , [string] , [string] , [string] , [string] ]
from typing import List
import typing
[docstring]
a = [ [string] , [string] , [string] , [string] , [string] ]
| What is the type of variable a? | typing.List[builtins.str] | 124 |
zyks/movie-db | [
"repos/zyks/movie-db/backend/api/urls.py",
"repos/zyks/movie-db/backend/main/management/commands/create_user.py"
] | from typing import List , Any
import typing
import main . api . urls
from django . conf . urls import include , url
urlpatterns = [ url ( [string] , include ( main . api . urls ) ) , ]
from typing import Any
import typing
from django . core . management . base import BaseCommand
from django . contrib . auth ... | What is the type of variable urlpatterns? | typing.List[typing.Any] | 232 |
zyks/movie-db | [
"repos/zyks/movie-db/backend/api/urls.py",
"repos/zyks/movie-db/backend/main/management/commands/create_user.py"
] | from typing import List , Any
import typing
import main . api . urls
from django . conf . urls import include , url
urlpatterns = [ url ( [string] , include ( main . api . urls ) ) , ]
from typing import Any
import typing
from django . core . management . base import BaseCommand
from django . contrib . auth ... | What is the type of variable USERNAME? | builtins.str | 229 |
zyks/movie-db | [
"repos/zyks/movie-db/backend/api/urls.py",
"repos/zyks/movie-db/backend/main/management/commands/create_user.py"
] | from typing import List , Any
import typing
import main . api . urls
from django . conf . urls import include , url
urlpatterns = [ url ( [string] , include ( main . api . urls ) ) , ]
from typing import Any
import typing
from django . core . management . base import BaseCommand
from django . contrib . auth ... | What is the type of variable PASSWORD? | builtins.str | 229 |
zyks/movie-db | [
"repos/zyks/movie-db/backend/api/urls.py",
"repos/zyks/movie-db/backend/main/management/commands/create_user.py"
] | from typing import List , Any
import typing
import main . api . urls
from django . conf . urls import include , url
urlpatterns = [ url ( [string] , include ( main . api . urls ) ) , ]
from typing import Any
import typing
from django . core . management . base import BaseCommand
from django . contrib . auth ... | What is the type of variable user? | typing.Any | 228 |
zyks/movie-db | [
"repos/zyks/movie-db/backend/main/api/urls.py",
"repos/zyks/movie-db/backend/config/urls.py"
] | from typing import List , Any
import typing
from django . conf . urls import include , url
from rest_framework import routers
[comment]
router = routers . DefaultRouter ( )
urlpatterns = [ url ( [string] , include ( router . urls ) ) , ]
from typing import List , Any
import typing
[docstring]
from django... | What is the type of variable router? | typing.Any | 202 |
zyks/movie-db | [
"repos/zyks/movie-db/backend/main/api/urls.py",
"repos/zyks/movie-db/backend/config/urls.py"
] | from typing import List , Any
import typing
from django . conf . urls import include , url
from rest_framework import routers
[comment]
router = routers . DefaultRouter ( )
urlpatterns = [ url ( [string] , include ( router . urls ) ) , ]
from typing import List , Any
import typing
[docstring]
from django... | What is the type of variable urlpatterns? | typing.List[typing.Any] | 206 |
zyks/movie-db | [
"repos/zyks/movie-db/backend/main/api/urls.py",
"repos/zyks/movie-db/backend/config/urls.py"
] | from typing import List , Any
import typing
from django . conf . urls import include , url
from rest_framework import routers
[comment]
router = routers . DefaultRouter ( )
urlpatterns = [ url ( [string] , include ( router . urls ) ) , ]
from typing import List , Any
import typing
[docstring]
from django... | What is the type of variable urlpatterns? | typing.List[typing.Any] | 206 |
zyks/movie-db | [
"repos/zyks/movie-db/backend/config/wsgi.py",
"repos/zyks/movie-db/backend/config/settings/development.py"
] | from typing import Any
import typing
[docstring]
import os
from django . core . wsgi import get_wsgi_application
os . environ . setdefault ( [string] , [string] )
application = get_wsgi_application ( )
from . base import *
DEBUG = True
| What is the type of variable application? | typing.Any | 115 |
zyks/movie-db | [
"repos/zyks/movie-db/backend/config/wsgi.py",
"repos/zyks/movie-db/backend/config/settings/development.py"
] | from typing import Any
import typing
[docstring]
import os
from django . core . wsgi import get_wsgi_application
os . environ . setdefault ( [string] , [string] )
application = get_wsgi_application ( )
from . base import *
DEBUG = True
| What is the type of variable DEBUG? | builtins.bool | 116 |
zz1559152814/my-notebook | [
"repos/zz1559152814/my-notebook/paper:sockeye亚马逊翻译模型(2017业内最佳)/sockeye-master/sockeye/__init__.py"
] | [comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
__version__ = [string]
| What is the type of variable __version__? | builtins.str | 110 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.