---
title: "Discussion on \"Object Attributes\" | Hashnode"
description: "Discussion on \"Object Attributes\". Problem Description\nWrite a program to create a class and print attributes using a method of the class.\nCreate a class\n\nCreate a class named Bicycle.\n\nInside this class, create two methods named: __init__() and print_attributes().\n\nThe class will hav..."
url: "https://hashnode.com/posts/object-attributes/6755bfbd150e0bd32e77b85c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Object Attributes](https://aryalashok.com.np/object-attributes?utm_source=hashnode&utm_medium=feed)

Problem Description Write a program to create a class and print attributes using a method of the class. Create a class Create a class named Bicycle. Inside this class, create two methods named: \_\_init\_\_() and print\_attributes(). The class will hav...

Dec 8, 2024 · 1 min read · aryalashok.com.np  
Read the article

## Written by

[Ashok Aryal](https://hashnode.com/@iamashokaryal)

@iamashokaryal

  
[View profile](https://hashnode.com/@iamashokaryal)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
