7 **4
s = 'Hi there Sam!'
s.split()
planet = "Earth"
diameter = 12742
print(f"The diameter of {planet} is {diameter} kilometers.")
lst = [1,2,[3,4],[5,[100,200,['hello']],23,11],1,7]
lst[3][1][2][0]
d = {'k1':[1,2,3,{'tricky':['oh','man','inception',{'target':[1,2,3,'hello']}]}]}
d['k1'][3]['tricky'][3]['target'][3]
# Tuple is immutable
email="johndoe@gmail.com"
email.split('@')[-1]
User Input
count = 0
for word in userinput.lower().split():
if word == 'dog':
count += 1
print(f"You have {count} dog(s) in this sentence.")