is when you type in a set of words and want to project it out
what is print statement
is the use of function in python
what is Functions are reusable pieces of programs
True = False
while True:
print(True)
break
what is syntax error
a __ is a sequence of values that can't be changed after it is defined.
what is tuple
is inheritance used for
To give a class the methods and variables of an interface
In Python, to access the type of a variable, you can ____.
what is type function.
keyword is use for function
what is def
x = ['ab', 'cd']
for i in x:
i.upper()
print(x)
[‘ab’, ‘cd’]
st='Python Programming'
x=st.lower()
y=x.replace('python','Python')
print y
what is python programming
is ___ always in order.
what is a diction
The ____ function can be used to read a value from keyword. However, by using this statement you need to supply the value in single quotes.
what is Input
is a features of DocString
what is modules, functions, classes, and methods
i = 1
while True:
if i%0O7 == 0:
break
print(i)
i += 1
what is 1 2 3 4 5 6
st=['P','y','t','h','o','n']
w=''.join(st)
print w
what is python
makes a new User object
what is
x = User()
A comment in Python language can start with _ symbol
what is a #
def sayHello():
print('Hello World!')
sayHello()
sayHello()
what is
Hello World!
Hello World!
i = 5
while True:
if i%0O11 == 0:
break
print(i)
i += 1
what is 5 6 7 8
txt='Python is powerful and easy.'
words=txt.split(' ')
l=len(worlds)
print 'Number of words of the text:%d' %l
what is the number of text is 5
An object can contain
what is
Variables and methods
by using the ___ function the value input from keyboard can be read without the use of single quotes.
what is raw_input
def say(message, times = 1):
print(message * times)
say('Hello')
say('World', 5)
what is
Hello
WorldWorldWorldWorldWorld
i = 1
while True:
if i%3 == 0:
break
print(i)
i + = 1
what is an error
treats a string as special kind of tuple.
what is python
find your Python version
what is python --version