Skip to content

Commit 11e90fb

Browse files
committed
code updated to Python 3 Series. All the commented lines are Sample Inputs and Outputs
1 parent d13f4f1 commit 11e90fb

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
.gitignore
3+
.idea/

Strings/StringValidators.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
# True
3030
# True
3131
# True
32-
string = raw_input()
33-
l=list(string)
32+
userGivenString = input()
33+
l=list(userGivenString)
3434
a,b,c,d,e=False,False,False,False,False
3535
for i in l:
3636
if i.isalnum():
@@ -43,8 +43,8 @@
4343
d=True
4444
if i.isupper():
4545
e=True
46-
print a
47-
print b
48-
print c
49-
print d
50-
print e
46+
print (a)
47+
print (b)
48+
print (c)
49+
print (d)
50+
print (e)

0 commit comments

Comments
 (0)