You are viewing a single comment's thread. Return to all comments →
This is the solutuion in Python 3.
se_int = int(input()) se_dou = float(input()) st_va = str(input(""))
print(se_int+i)
print(se_dou + d)
print(s + st_va)
Seems like cookies are disabled on this browser, please enable them to open this website
Day 1: Data Types
You are viewing a single comment's thread. Return to all comments →
This is the solutuion in Python 3.
Declare second integer, double, and String variables.
Read and save an integer, double, and String to your variables.
se_int = int(input()) se_dou = float(input()) st_va = str(input(""))
Print the sum of both integer variables on a new line.
print(se_int+i)
Print the sum of the double variables on a new line.
print(se_dou + d)
Concatenate and print the String variables on a new line
print(s + st_va)
The 's' variable above should be printed first.