Answers for "python add"

4

how to add in python

a = int(input())
b = int(input())
s = a+b
print(S)
Posted by: Guest on April-23-2020
11

add element in set python

thisset = {"apple", "banana", "cherry"}

thisset.add("orange")

print(thisset)
Posted by: Guest on May-17-2020
1

python add

1 + 1 # 2

a = 1
b = 2
a + b # 3
Posted by: Guest on April-10-2021
2

using append in python

lst=[1,2,3,4]
print(lst)

#prints [1,2,3,4]

lst.append(5)
print(lst)

#prints [1,2,3,4,5]
Posted by: Guest on September-14-2020
-1

add in python

a = 6
b = 12
c = a + b
#That is how you can add two numbers or variables
Posted by: Guest on September-07-2020

Python Answers by Framework

Browse Popular Code Answers by Language