Visual Basic program
Please solve
Attachments:
Answers
Answered by
1
3) write the following text in text editor
x=input("Enter a number\:n")
if x<0:
print x,"is a negative number"
else:
print x,"is a positive number"
open the above program in python the output will be according to the given input x.
x=input("Enter a number\:n")
if x<0:
print x,"is a negative number"
else:
print x,"is a positive number"
open the above program in python the output will be according to the given input x.
Similar questions