+ 2
the upcoming code takes text Data as input. write the code to convert it to uppercase and display in on the screen
item = "hello" "nasa" "bmw" print (item upper()) doesn't work no input
7 Respuestas
+ 2
doesn't work
+ 2
Missing dot I guess like SoloProg said.
item= "hello" "nasa" "bmw"
This gives item the value 'hellonasabmw' which I don't really understand why
And then print(item.upper())
+ 2
text = "hello" "nasa" "bmw"
text2 = text.upper()
print(text2)
doesn't work
+ 2
text = input()
print (text.upper())
this working thanks guy's
+ 1
#Missing dot
print (item.upper())
#or
print (*item.upper())
+ 1
Is it from the exercise "Survey Data Format"?
It takes one input at a time.
Save the input into a variable and then print the uppercase format.
+ 1
text = input()
text1 = text.upper()
print (text1)
#worked for me