print_variable_name_and_value.py
# Normal way to print variable name and value name = "Abdou" age = 24 print(f"name: {name}, age: {age}") # using the "=" sign print(f"{name=}, {age=}")
Join 50,000+ Python Programmers & Enthusiasts like you!
Black Friday Special! All of our eBooks and bundles are at 50% off!Get our The Python Code eBook Bundle at 50% off. Limited time only!
$122.00 $61.00