0
Guys..pls help..how can i give inputs..without displaying the msg entr a no...and directly getting the results
print("your sum is") float(input("enter a no"))+float(input(" entr no"))
4 Answers
+ 4
If you don't want to display the text, then you could just leave the area within the brackets for the input function empty. This just results in nothing being printed for when the input function is run. You could also just surround the inputs within a print function for the output to be what the user enters.
print(float(input()) + float(input()))
+ 1
i dont know python yet but i think you can do this
Guys..pls help..how can i give inputs..without displaying the msg entr a no...and directly getting the results
print("your sum is")
float(float(input(" entr no"))
+ 1
print("your sum is")
x=float(input(float(input(
"enter a no"))))+float(input(float(input('entr the no')))
print(x)
print("so this \n is ur sum")
thn wats wrong here mate