Python Classroom notes 14/Mar/2026

Dictionaries

  • Refer Here for dictionaries
  • This is collection of key values
  • syntax
{'key1': 'value1' , ..... }

strings

  • python strings are unicode
x = "hello"

Preview

  • in python a string can be in single, double or triple quotes
x = "hello"
x = 'hello'
x = """hello"""
x = '''hello'''
  • triple quotes support multi line
x = """Hello
How are you
are you there
"""

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading