Skip to content

Commit 5530f2d

Browse files
committed
reverse string using for loop
1 parent 83a3ea0 commit 5530f2d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

basic.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
# else:
5757
# print('{} is a Prime number'.format(n))
5858

59+
# reverse string using for loop
60+
stringinp=input(enter)
61+
5962
# 6.union three set
6063
# a={5,12,52,0,8}
6164
# b={2,5,1,9,8}

0 commit comments

Comments
 (0)