HackerRank 30 Day's of Code Solution | Python | Day 1 | Data Types

Veröffentlicht am: 06 April 2020
auf dem Kanal: Dhiraj Bezbaruah
809
15

Welcome to the new series of HackerRank 30 Day's of Code

Visit- https://www.codesadda.com/hr/thirty_d...

Task-
Complete the code in the editor below. The variables i, d and s are already declared and initialized for you. You must: 1. Declare 3 variables: one of type int, one of type double, and one of type String. 2. Read 3 lines of input from stdin (according to the sequence given in the Input Format section below) and initialize your variables. 3. Use the + operator to perform the following operations: a. Print the sum of i plus your int variable on a new line. b. Print the sum of d plus your double variable to a scale of one decimal place on a new line. c. Concatenate s with the string you read as input and print the result on a new line.

Problem Link- https://www.hackerrank.com/challenges...


Auf dieser Seite können Sie das Online-Video HackerRank 30 Day's of Code Solution | Python | Day 1 | Data Types mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Dhiraj Bezbaruah 06 April 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 809 Mal angesehen und es wurde von 15 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!