Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 343 Bytes

File metadata and controls

15 lines (8 loc) · 343 Bytes

24 class with two methods

📝 Instructions:

  1. Define a class which has at least two methods:
  • get_string: to get a string from console input

  • print_string: to print the string in upper case.

  1. Please include simple test function to test the class methods.

💡 Hint:

  • Use init method to construct some parameters