项目作者: suhas03

项目描述 :
python beginners assignment
高级语言: Jupyter Notebook
项目地址: git://github.com/suhas03/python-assignments.git
创建时间: 2019-01-17T02:29:30Z
项目社区:https://github.com/suhas03/python-assignments

开源协议:

下载


python-assignments

assignment 2 question

Write a program which will find all such numbers which are divisible by 7 but are not a
multiple of 5, between 2000 and 3200 (both included). The numbers obtained should be
printed in a comma-separated sequence on a single line.

assignment 3 question

Write a Python program to accept the user’s first and last name and then getting them
printed in the the reverse order with a space between first name and last name.

assignment 4 question

Write a Python program to find the volume of a sphere with diameter 12 cm.
Formula: V=4/3 π r**3

assignment 6 question

Create the below pattern using nested for loop in Python.
*

  • *





assignment 8 question
Write a Python Program to print the given string in the format specified in the sample
output.
WE, THE PEOPLE OF INDIA, having solemnly resolved to constitute India into a
SOVEREIGN, SOCIALIST, SECULAR, DEMOCRATIC REPUBLIC and to secure to all
its citizens
Sample Output:
WE, THE PEOPLE OF INDIA,
having solemnly resolved to constitute India into a SOVEREIGN, !
SOCIALIST, SECULAR, DEMOCRATIC REPUBLIC
and to secure to all its citizens: