Sei sulla pagina 1di 5

SKILL 1

1) Write the description and syntax for the following python keywords .

Keywords Description

and

as

break

continue

del

def
except

import

in

is

lambda

not

if
else

or

false

true

elif

for

while

return
yield

raise

try

assert

2) Vishal was reading some paraphrases by his friends. Now, he is interested in


classifying all the paraphrases he knows. He thinks that all paraphrases which contain
the word “loves” are selected, paraphrases that do not contain it are “not selected”.
Write a Python program for the given Paraphrases .
PARAPHRASES :
He loves to eat Butterscotch ice cream.
He always loves to play cricket.
I’m a Data Analyst.
Data Science is a blend of various tools.
All the Statisticians loves to do Data Science.
K L University is a deemed to be University.
3) Mathematicians are fond of numbers. All the mathematicians gave a task to the
Python programmers to write a program whether the given three digited numbers are
Armstrong numbers or not. If the given number is an Armstrong number then print “Yes
it is” otherwise print “Its not an Armstrong number”.
Input numbers : 369
097
153
240
704

Potrebbero piacerti anche