Problem Set 3 is ought to be delayed. This was what the teacher told. Dont worry i'll upload the solutions in two days or so.
I want you guyz who read my blog to open this page and comment on how i could improve my blog for the upcoming problem sets as now onwards this would contain python programs and moreover plz inform when would the faculty start teaching you python so that i could upload the solutions as soon as possible. Plz comment to this post.
Now You Guyz dont have to register to comment so plz comment freely. Your feedback is really important for me imporve my blog
Now You Guyz dont have to register to comment so plz comment freely. Your feedback is really important for me imporve my blog
how to remove error its coming
ReplyDeleteidq? instead of idq
word = input()
Deleteword.rstrip()
number = int(input())
number = abs(number)
number = number%26
code = []
for i in range(len(word)-1):
temp = ord(word[i])+ number
if temp>122:
temp = temp - 122
temp = 96 + temp
code.insert(i,chr(temp))
else:
code.insert(i,chr(temp))
for i in code:
print(i,end='')
The update code is mention above and also changed in the blog....i just changed the 'for i in range(len(word))' to 'for i in range(len(word)-1)