Free Printable Worksheets
Font size
More settings
Given below is a program to convert a float into an integer. temp=37.69 newtype= (a) print(newtype) Fill up the missing code and write the output.
What is a variable in Python?
A type of Python data structure
A reserved memory location to store values
A specific Python function
A data type
How can you convert the string `"123"` to an integer in Python?
int("123")
str(123)
"123".toInt()
convert("123", int)
Which of the following is NOT a numeric data type in Python?
int
float
complex
char
View all
6 questions
Python М2У2
Worksheet
•
6th - 8th Grade
5 questions
АЛФАВИТ ЯЗЫКА. СИНТАКСИС
6th Grade
Первый урок
if else