SimeonTs

SUPyF2 D.Types and Vars Exercise - 02. Chars to String

Sep 27th, 2019
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.43 KB | None | 0 0
  1. """
  2. Data Types and Variables - Exercise
  3. Check your code: https://judge.softuni.bg/Contests/Practice/Index/1722#1
  4.  
  5. SUPyF2 D.Types and Vars Exercise - 02. Chars to String
  6. Problem:
  7. Write a function that receives 3 characters. Combine all the characters into one string and print it on the console.
  8.  
  9. Examples:
  10. Input:  Output:
  11. a
  12. b
  13. c       abc
  14.  
  15. %
  16. 2
  17. o       %2o
  18.  
  19. 1
  20. 5
  21. p       15p
  22. """
  23. print(f"{input()}{input()}{input()}")
Add Comment
Please, Sign In to add comment