Skip to content
Practice
Profile icon
AdyaAngurala

print(str(len(input("What is your name? "))))

print(str(len(input("What is the name of the city you were born in? "))))
#Data Types:
#String
#Integer
#Float
#Boolean
num_char = len(input("What is your name? "))
new_num_char = str(num_char)
print("Your name has " + new_num_char + " " "characters.")
print(str(len(input("What is your name? "))))
n=input("What have you been doing? ")
print(n)
a=input("How old are you? ")
length = a
print(str(len(input(a))))

You are viewing a single comment. View All
Profile icon
RhinoRunner

File "main.py", line 17
print(str(50) + (str(78))
^
SyntaxError: invalid syntax