What will be the output of following?
x ='apple, pear, peach, grapefruit
'
y = x.split(',')
for z iny:
if z <'m';
print(str.lower(z))
else:
print(str.upper(z))
Answers
Answered by
2
Programming Mechanics
Functions (what are they, using them, arguments, return values, etc)
Variables (what are they, creating them, using them, naming rules, etc)
Reading input from the keyboard with the input() function
Similar questions
Chemistry,
4 months ago
English,
9 months ago
Geography,
9 months ago
Computer Science,
1 year ago
English,
1 year ago