Professional Documents
Culture Documents
com/zhiwehu/Python-programming
exercises/blob/master/100%2B%20Python%20challenging%20programming%20exercises.txt
1. ###make it so that any word written is such that the first letter of the word is substituted with a
corresponding number of the position of that letter in the alphabet###
#etc.
2. ###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.###
print(x, end=",")
beb=num
y=0
while (beb>1):
beb=beb-1
num=beb* num
if beb==1:
print(num*beb)