logo

Crowdly

Browser

Додати до Chrome

Python Fundamentals

Шукаєте відповіді та рішення тестів для Python Fundamentals? Перегляньте нашу велику колекцію перевірених відповідей для Python Fundamentals в softserve.academy.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

Choose the correct function to get the ASCII code of a character

0%
0%
0%
Переглянути це питання

Select the correct output of the following String operations

str1 = "my isname isisis jameis isis bond"

sub = "is"

print(str1.count(sub, 4))

0%
0%
0%
Переглянути це питання

What does the following code print to the console?

s1 = "hot"

s2 = "dog"

print(s1 + s2)

Переглянути це питання

What is the output of the following code

str1 = "My salary is 7000";

str2 = "7000"

print(str1.isdigit())

print(str2.isdigit())

0%
0%
0%
0%
Переглянути це питання

What is the output of the following string comparison

print("John" > "Jhon")

print("Emma" < "Emm")

0%
0%
0%
0%
Переглянути це питання

Select the correct output of the following String operations

str = "my name is James bond"

print (str.capitalize())

0%
100%
0%
Переглянути це питання

Select the correct output of the following String operations

str1 = 'Welcome'

print(str1*2)

0%
0%
100%
Переглянути це питання

What does the following code print to the console?

first_name = "television"

hobby = "homer"

tmp = first_name

first_name = hobby

hobby = tmp

print(f"T{first_name[1:3]} likes to watch {hobby[4:]}")

Переглянути це питання

A string is immutable in Python?

Every time when we modify the string, Python Always create a new String and assign a new string to that variable.

100%
0%
Переглянути це питання

What is the output of the following code?

img2

0%
0%
0%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на softserve.academy?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome