1. Engineering
  2. Computer Science
  3. there are traceback errors and may i ask how to...

Question: there are traceback errors and may i ask how to...

Question details

# 9) Re-write the lines of code from question 9 age input(How old are you? ) ten_years_from_nowage 10 print(I will be + ten vears from now ) # What are three reasons that this code does not # Answer:# Why does the code not work as written? # Answer: Traceback error (Cannot concatenate int to string) # I wilí be is a string and ten-years-from-now is an int. age112 print(ten_years_from_now age + 10) print(I will be + ten_years_from_now)

There are Traceback errors and may I ask how to make these correct?

It is Python 3

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution