I am trying to make a function to duplicate a string
from one variable
and returned it with two arguments, what im trying to do is if I type pie
then it will return ('pie','pie')
, here is what i already do :
def duplicateVariabel(kata):
kata_dua = kata
return kata,kata_dua
print(duplicateVariabel("aku"))
so basically I'm trying to find another way to duplicate aku
without using kata_dua = kata
but still return 2 variables