Skip to content

Files

Latest commit

be1ff4a · Mar 7, 2024

History

History
This branch is 3 commits behind 4GeeksAcademy/master-python-programming-exercises:master.

024-class-with-two-methods

README.md

024 Class with two methods

📝 Instructions:

  1. Define a class called InputOutString 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. Test your class' methods.

💡 Hint:

  • Use the __init__ method to construct your parameters.