博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
HackerRank【30 Days of Code——day0】
阅读量:4661 次
发布时间:2019-06-09

本文共 571 字,大约阅读时间需要 1 分钟。

Day 0: Hello, World.

Task 

To complete this challenge, you must save a line of input from stdin to a variable, print Hello, World. on a single line, and finally print the value of your variable on a second line.

# Read a full line of input from stdin and save it to our dynamically typed variable, input_string.input_string = input()# Print a string literal saying "Hello, World." to stdout.print('Hello, World.')# TODO: Write a line of code here that prints the contents of input_string to stdout.print(input_string)

 

转载于:https://www.cnblogs.com/wzs-python/p/11217030.html

你可能感兴趣的文章
adb命令 判断锁屏
查看>>
推荐一个MacOS苹果电脑系统解压缩软件
查看>>
1035等差数列末项计算
查看>>
CDMA鉴权
查看>>
ASP.NET MVC Identity 兩個多個連接字符串問題解決一例
查看>>
过滤器与拦截器区别
查看>>
第二阶段站立会议7
查看>>
JAVA多线程
查看>>
delphi 更改DBGrid 颜色技巧
查看>>
POJ 2031 Building a Space Station
查看>>
任意阶幻方(魔方矩阵)C语言实现
查看>>
织梦教程
查看>>
杭电多校 Harvest of Apples 莫队
查看>>
C/C++心得-结构体
查看>>
函数名作为参数传递
查看>>
apt-get for ubuntu 工具简介
查看>>
数值计算算法-多项式插值算法的实现与分析
查看>>
day8-异常处理与网络编程
查看>>
Python基础-time and datetime
查看>>
shell脚本练习01
查看>>