QBASIC
1.Write a program to print your name, School name
and grade in different lines.
2.Write a program to assign 2values.Find its total and print same line with 14 characters space.
3. Write a program to assign the length of a square, find its area and print the same.
4. Write a program to assign 6 subject marks find its total and average, print the samewith the message.
5. Write a program to display the multiplication table from 5*1=5 to 5*10=50
CLASS: 6th
BOARD:ICSE
SUBJECT: COMPUTER SCIENCE
TOPIC: Q BASIC
Please help will mark you as Brainliest..
THANKYOU
Answers
Answered by
0
Answer:
From help(print):
Help on built-in function print in module builtins:
print(...)
print(value, ..., sep=' ', end='\n', file=sys.stdout)
Prints the values to a stream, or to sys.stdout by default.
Optional keyword arguments:
file: a file-like object (stream); defaults to the current sys.stdout.
sep: string inserted between values, default a space.
end: string appended after the last value, default a newline.
You can use the end keyword:
>>> for i in range(1, 11):
... print(i, end='')
...
12345678910>>>
Attachments:
Similar questions