You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Challenge 3, based on chapter 6 content is as follows:
st = "aldous Huxley was born in 1894."
firstLetter = st[0:1].upper()
theRest = st[1:]
st = firstLetter + theRest
print(st)
Challenge 4
Two methods, not one, one nested in the other.
st = ("Where now? Who now? When now?".replace("? ", "?@")).split("@")
print (st)
The text was updated successfully, but these errors were encountered:
Captain-Goofy
changed the title
Solution based on chapter content
Chap 6 Challlenges 3 and 4 Solutions based on chapter content
Nov 10, 2019
Captain-Goofy
changed the title
Chap 6 Challlenges 3 and 4 Solutions based on chapter content
Chap 6 Challenges 3 and 4 Solutions based on chapter content
Nov 10, 2019
Challenge 3, based on chapter 6 content is as follows:
st = "aldous Huxley was born in 1894."
firstLetter = st[0:1].upper()
theRest = st[1:]
st = firstLetter + theRest
print(st)
Challenge 4
Two methods, not one, one nested in the other.
st = ("Where now? Who now? When now?".replace("? ", "?@")).split("@")
print (st)
The text was updated successfully, but these errors were encountered: