Hactober2022 icon indicating copy to clipboard operation
Hactober2022 copied to clipboard

To build flashcard using class in Python

Open biratkundu opened this issue 3 years ago • 1 comments

Approach :

-> Take the word and its meaning as input from the user. -> Create a class named flashcard, use the init() function to assign values for Word and Meaning. -> Now we use the str() function to return a string that contains the word and meaning. -> Store the returned strings in a list named flash. -> Use a while loop to print all the stored flashcards.

biratkundu avatar Oct 09 '22 18:10 biratkundu

Please follow the owner's GitHub account and star this repo.

lancertech6 avatar Oct 13 '22 11:10 lancertech6