Questions

  1. What is the difference between stdin and input?
  2. What is SMTP?
  3. What would be the output of the following?
>>> name = "Eric"
>>> profession = "comedian"
>>> affiliation = "Monty Python"
>>> age = 25
>>> message = (
... f"Hi {name}. "
... f"You are a {profession}. "
... f"You were in {affiliation}."
... )
>>> message
  1. What would be the output of the following?
str1 = 'Hello'
str2 ='World!'
print('str1 + str2 = ', str1 + str2)
print('str1 * 3 =', str1 * 3)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset