Print() function will print like \xe3\x81\x82~

Asked 5 months ago, Updated 5 months ago, 14 views

I'm writing a book for beginners that shows the zodiac signs when you get older.

year_str=input('Please enter the year of your birth in four digits:')
print('Your zodiac sign is',number_of_eto,').')

if you write
Please enter the year of your birth in 4 digits:
and enter the year


It says

If it's a book, your zodiac sign should say ~, but is there something wrong with the way you wrote it?❓

python python3

2022-09-30 11:06

1 Answers

If you have any answers or tips

© 2023 OneMinuteCode. All rights reserved.